From 2b57a2c97b7360ee1805834ad908332ec71cd0cc Mon Sep 17 00:00:00 2001 From: Elbert Alias <77259+AliasIO@users.noreply.github.com> Date: Fri, 20 Apr 2018 15:53:32 +1000 Subject: [PATCH] Build v5.4.14 --- src/apps.json | 2 +- src/drivers/npm/package.json | 2 +- src/drivers/webextension/js/driver.js | 4 +++- src/drivers/webextension/manifest.json | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/apps.json b/src/apps.json index 5613f3988..817b3edf2 100644 --- a/src/apps.json +++ b/src/apps.json @@ -4621,7 +4621,7 @@ 6, 53 ], - "icon": "byInti.png", + "icon": "byINTI.svg", "url": "^https?//.+\\.byinti\\.com", "website": "http://byinti.com" }, diff --git a/src/drivers/npm/package.json b/src/drivers/npm/package.json index 9ae34aadc..173a41601 100644 --- a/src/drivers/npm/package.json +++ b/src/drivers/npm/package.json @@ -2,7 +2,7 @@ "name": "wappalyzer", "description": "Uncovers the technologies used on websites", "homepage": "https://github.com/AliasIO/Wappalyzer", - "version": "5.4.13", + "version": "5.4.14", "author": "Elbert Alias", "license": "GPL-3.0", "repository": { diff --git a/src/drivers/webextension/js/driver.js b/src/drivers/webextension/js/driver.js index bbe784d10..653b3bb4e 100644 --- a/src/drivers/webextension/js/driver.js +++ b/src/drivers/webextension/js/driver.js @@ -135,10 +135,12 @@ browser.webRequest.onCompleted.addListener(request => { if ( request.responseHeaders ) { const url = wappalyzer.parseUrl(request.url); - browser.tabs.query({ url: [ url.canonical ] }) + browser.tabs.query({ url: [ url.href ] }) .then(tabs => { const tab = tabs[0] || null; + console.log({ url: url.canonical, tab }); + if ( tab ) { request.responseHeaders.forEach(header => { const name = header.name.toLowerCase(); diff --git a/src/drivers/webextension/manifest.json b/src/drivers/webextension/manifest.json index 821ae1db0..e8cc0c002 100644 --- a/src/drivers/webextension/manifest.json +++ b/src/drivers/webextension/manifest.json @@ -4,7 +4,7 @@ "author": "Elbert Alias", "homepage_url": "https://www.wappalyzer.com", "description": "Identify web technologies", - "version": "5.4.13", + "version": "5.4.14", "default_locale": "en", "manifest_version": 2, "icons": {