reduce setTimeout.
This commit is contained in:
parent
3b885e4327
commit
78654e0c63
|
@ -45,7 +45,11 @@
|
||||||
removeSelectors([".signup-container container"]);
|
removeSelectors([".signup-container container"]);
|
||||||
}
|
}
|
||||||
if (matchDomain(["thespinoff.co.nz"])) {
|
if (matchDomain(["thespinoff.co.nz"])) {
|
||||||
removeSelectors([".the-spinoff-club-interruptive", ".bulletin-signup"]);
|
removeSelectors([
|
||||||
|
".the-spinoff-club-interruptive",
|
||||||
|
".bulletin-signup",
|
||||||
|
".sponsor_post_footer"
|
||||||
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
function matchDomain(domains) {
|
function matchDomain(domains) {
|
||||||
|
@ -84,7 +88,7 @@
|
||||||
return displayNone || visibilityHidden;
|
return displayNone || visibilityHidden;
|
||||||
})
|
})
|
||||||
.forEach((element) => element && element.remove());
|
.forEach((element) => element && element.remove());
|
||||||
}, 1000);
|
}, 500);
|
||||||
}
|
}
|
||||||
|
|
||||||
function removeSelectors(selectors) {
|
function removeSelectors(selectors) {
|
||||||
|
@ -99,6 +103,6 @@
|
||||||
return undefined;
|
return undefined;
|
||||||
});
|
});
|
||||||
removeDOMElement(...elements);
|
removeDOMElement(...elements);
|
||||||
}, 1000);
|
}, 500);
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user