|
|
@ -118,13 +118,9 @@ var callback = tabs => {
|
|
|
|
})
|
|
|
|
})
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
browser.tabs.query({})
|
|
|
|
browser.tabs.query({})
|
|
|
|
|
|
|
|
.then(callback)
|
|
|
|
.then(callback)
|
|
|
|
.catch(error => wappalyzer.log(error, 'driver', 'error'));
|
|
|
|
.catch(error => wappalyzer.log(error, 'driver', 'error'));
|
|
|
|
} catch ( e ) {
|
|
|
|
|
|
|
|
browser.tabs.query({}, callback);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Capture response headers
|
|
|
|
// Capture response headers
|
|
|
|
browser.webRequest.onCompleted.addListener(request => {
|
|
|
|
browser.webRequest.onCompleted.addListener(request => {
|
|
|
|