mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-06 19:02:30 +01:00
fix #1773
This commit is contained in:
parent
bec8243a46
commit
682e0c8916
@ -1159,12 +1159,7 @@ vAPI.executionCost.start();
|
||||
|
||||
// Start cosmetic filtering.
|
||||
|
||||
var allElems = document.all;
|
||||
classesAndIdsFromNodeList(
|
||||
allElems instanceof Object ?
|
||||
allElems :
|
||||
document.querySelectorAll('[class],[id]')
|
||||
);
|
||||
classesAndIdsFromNodeList(document.querySelectorAll('[class],[id]'));
|
||||
retrieveGenericSelectors();
|
||||
|
||||
//console.debug('%f: uBlock: survey time', timer.now() - tStart);
|
||||
@ -1203,7 +1198,7 @@ vAPI.executionCost.start();
|
||||
|
||||
addedNodeListsTimer = null;
|
||||
if ( addedNodeListsTimerDelay < 100 ) {
|
||||
addedNodeListsTimerDelay += 25;
|
||||
addedNodeListsTimerDelay += 10;
|
||||
}
|
||||
var iNodeList = addedNodeLists.length,
|
||||
nodeList, iNode, node;
|
||||
|
Loading…
Reference in New Issue
Block a user