diff --git a/src/drivers/webextension/js/driver.js b/src/drivers/webextension/js/driver.js index f302560d3..9bf887d42 100644 --- a/src/drivers/webextension/js/driver.js +++ b/src/drivers/webextension/js/driver.js @@ -62,7 +62,7 @@ const Driver = { chrome.webRequest.onHeadersReceived.addListener( Driver.onHeadersReceived, { urls: ['http://*/*', 'https://*/*'], types: ['main_frame'] }, - ['responseHeaders', 'blocking'] + ['responseHeaders' /*, 'blocking' */] ) chrome.tabs.onRemoved.addListener((id) => (Driver.cache.tabs[id] = null)) @@ -265,6 +265,7 @@ const Driver = { ) }) + /* let certIssuer = '' if ( @@ -289,12 +290,16 @@ const Driver = { ) } } + */ if ( headers['content-type'] && /\/x?html/.test(headers['content-type'][0]) ) { - await Driver.onDetect(request.url, analyze({ headers, certIssuer })) + await Driver.onDetect( + request.url, + analyze({ headers /*, certIssuer */ }) + ) } } } catch (error) { diff --git a/src/drivers/webextension/manifest.json b/src/drivers/webextension/manifest.json index 846710bf2..e6d8c82c1 100644 --- a/src/drivers/webextension/manifest.json +++ b/src/drivers/webextension/manifest.json @@ -65,7 +65,6 @@ "webRequest", "webNavigation", "webRequestBlocking", - "dns", "http://*/*", "https://*/*" ], diff --git a/src/technologies.json b/src/technologies.json index 271f7663d..82139d59a 100644 --- a/src/technologies.json +++ b/src/technologies.json @@ -1249,7 +1249,7 @@ "AngularJS" ], "dom": { - "body > :first-child": { + "[ng-version]": { "attributes": { "ng-version": "^([\\d.]+)\\;version:\\1" }