1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-02 09:09:38 +02:00
This commit is contained in:
gorhill 2016-07-01 12:54:10 -04:00
parent 7f9c01d38f
commit 9d8499b4b1

View File

@ -1053,7 +1053,7 @@ vAPI.executionCost.start();
j = selectors.length;
while ( j-- ) {
selector = selectors[j];
if ( href.lastIndexOf(selector, 8) === 8 ) {
if ( href.lastIndexOf(selector.slice(8, -2), 0) === 0 ) {
domFilterer.addSelector(selector);
domFilterer.hideNode(node);
}