mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-02 00:42:45 +01:00
code review for #452
This commit is contained in:
parent
d5c3c2d6a6
commit
4c7533b786
@ -80,7 +80,7 @@ var messager = vAPI.messaging.channel('contentscript-end.js');
|
||||
// to force them to be seen as "already injected".
|
||||
selectors = vAPI.donthideCosmeticFilters;
|
||||
if ( typeof selectors === 'object' ) {
|
||||
for ( selector in selectors ) {
|
||||
for ( var selector in selectors ) {
|
||||
if ( selectors.hasOwnProperty(selector) ) {
|
||||
injectedSelectors[selector] = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user