mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Improve overlay-buster scriptlet
Related discussion: https://github.com/uBlockOrigin/uBlock-issues/discussions/3470
This commit is contained in:
parent
4a5c2723ff
commit
fc231998b9
1 changed files with 2 additions and 2 deletions
|
|
@ -2103,8 +2103,8 @@ builtinScriptlets.push({
|
|||
// Experimental: Generic nuisance overlay buster.
|
||||
// if this works well and proves to be useful, this may end up
|
||||
// as a stock tool in uBO's popup panel.
|
||||
function overlayBuster() {
|
||||
if ( window !== window.top ) { return; }
|
||||
function overlayBuster(allFrames) {
|
||||
if ( allFrame === '' && window !== window.top ) { return; }
|
||||
var tstart;
|
||||
var ttl = 30000;
|
||||
var delay = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue