mirror of https://github.com/gorhill/uBlock.git
jshint
This commit is contained in:
parent
1525a828c1
commit
cfadf76345
|
@ -86,7 +86,7 @@ vAPI.tabs.onClosed = function(tabId) {
|
|||
// https://github.com/gorhill/uBlock/issues/297
|
||||
|
||||
vAPI.tabs.onPopup = function(details) {
|
||||
//console.debug('vAPI.tabs.onPopup: url="%s"', details.url);
|
||||
//console.debug('vAPI.tabs.onPopup: details = %o', details);
|
||||
|
||||
var pageStore = µb.pageStoreFromTabId(details.openerTabId);
|
||||
var openerURL = details.openerURL || '';
|
||||
|
@ -121,12 +121,11 @@ vAPI.tabs.onPopup = function(details) {
|
|||
|
||||
// https://github.com/gorhill/uBlock/issues/91
|
||||
if ( pageStore ) {
|
||||
var context = {
|
||||
pageStore.logRequest({
|
||||
requestURL: targetURL,
|
||||
requestHostname: µb.URI.hostnameFromURI(targetURL),
|
||||
requestType: 'popup'
|
||||
};
|
||||
pageStore.logRequest(context, result);
|
||||
}, result);
|
||||
}
|
||||
|
||||
// Not blocked
|
||||
|
|
Loading…
Reference in New Issue