mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-07 03:12:33 +01:00
Merge branch 'master' of github.com:gorhill/uBlock
This commit is contained in:
commit
6f3646a43d
@ -768,12 +768,7 @@ vAPI.tabs.reload = function(tabId) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( vAPI.fennec ) {
|
getBrowserForTab(tab).webNavigation.reload(0);
|
||||||
tab.browser.reload();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
getOwnerWindow(tab).gBrowser.reloadTab(tab);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
@ -156,11 +156,12 @@ var hideElements = function(selectors) {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
var url = window.location.href;
|
||||||
localMessager.send(
|
localMessager.send(
|
||||||
{
|
{
|
||||||
what: 'retrieveDomainCosmeticSelectors',
|
what: 'retrieveDomainCosmeticSelectors',
|
||||||
pageURL: window.location.href,
|
pageURL: url,
|
||||||
locationURL: window.location.href
|
locationURL: url
|
||||||
},
|
},
|
||||||
filteringHandler
|
filteringHandler
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user