mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-06 09:37:12 +02:00
start contentscript: don't query href twice
This commit is contained in:
parent
d7587745cc
commit
fbddda46bb
@ -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 New Issue
Block a user