mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 17:17:57 +01:00
start contentscript: don't query href twice
This commit is contained in:
parent
d7587745cc
commit
fbddda46bb
1 changed files with 3 additions and 2 deletions
|
@ -156,11 +156,12 @@ var hideElements = function(selectors) {
|
|||
}
|
||||
};
|
||||
|
||||
var url = window.location.href;
|
||||
localMessager.send(
|
||||
{
|
||||
what: 'retrieveDomainCosmeticSelectors',
|
||||
pageURL: window.location.href,
|
||||
locationURL: window.location.href
|
||||
pageURL: url,
|
||||
locationURL: url
|
||||
},
|
||||
filteringHandler
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue