Skip to content

Commit

Permalink
Improve overlay-buster scriptlet
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Mar 6, 2025
1 parent 4a5c272 commit fc23199
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/resources/scriptlets.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fc23199

Please sign in to comment.