uBO Minus/Lite discussion · uBlockOrigin/uBlock-issues · Discussion #2261 (original) (raw)

@gorhill

Procedural filters are applied at requestAnimationFrame time, and probably it does not fire when the page is not visible, which is good since we do not want procedural filters to consume CPU cycle if the result is not going to be visible anyway.

This reasoning is understandable. However, the page opened in the background tab will still be visited by the user in the end. And there will be unblocked ads on this page.

To avoid this, for those sites where the remove() operator is used, I am forced to use a whole list of risky hiding rules:
24boxing.com.ua,4mama.ua,autoua.net,avtovod.com.ua,beauty.ua,besplatka.ua,bigmir.net,bilshe.com,buhgalter.com.ua,buhgalter911.com,businessua.com,censor.net,dengi.ua,ditey.com,enovosty.com,epravda.com.ua,eurointegration.com.ua,f1analytic.com,facenews.ua,factor.ua,football-ukraine.com,football24.ua,footballtransfer.com.ua,forumodua.com,gazeta.ua,gismeteo.ua,glianec.com,gorod.dp.ua,hvylya.net,i.ua,inforesist.org,internetua.com,isport.ua,kolobok.ua,kp.ua,kriminal.tv,lifedon.com.ua,liga.net,mama.ua,meteo.ua,mport.ua,nashamama.com,newsyou.info,nnovosti.info,nv.ua,okino.ua,orakul.com,ostro.org,panno4ka.net,pravda.com.ua,real-vin.com,sinoptik.ua,smak.ua,sportanalytic.com,stravy.net,tochka.net,toneto.net,tv.ua,tvoymalysh.com.ua,u-news.com.ua,udoktora.net,vsetv.com,zdorovia.com.ua##style:first-child + div[class]:not([class*=" "]):not([class*="-"]):not([class*="_"]):not(.container) 24boxing.com.ua,4mama.ua,autoua.net,avtovod.com.ua,beauty.ua,besplatka.ua,bigmir.net,bilshe.com,buhgalter.com.ua,buhgalter911.com,businessua.com,censor.net,dengi.ua,ditey.com,enovosty.com,epravda.com.ua,eurointegration.com.ua,f1analytic.com,facenews.ua,factor.ua,football-ukraine.com,football24.ua,footballtransfer.com.ua,forumodua.com,gazeta.ua,gismeteo.ua,glianec.com,gorod.dp.ua,hvylya.net,i.ua,inforesist.org,internetua.com,isport.ua,kolobok.ua,kp.ua,kriminal.tv,lifedon.com.ua,liga.net,mama.ua,meteo.ua,mport.ua,nashamama.com,newsyou.info,nnovosti.info,nv.ua,okino.ua,orakul.com,ostro.org,panno4ka.net,pravda.com.ua,real-vin.com,sinoptik.ua,smak.ua,sportanalytic.com,stravy.net,tochka.net,toneto.net,tv.ua,tvoymalysh.com.ua,u-news.com.ua,udoktora.net,vsetv.com,zdorovia.com.ua##style:first-child ~ slot ~ div[class]:not([class*=" "]):not([class*="_"])

It is difficult to find such rules on ukr.net, so redirect rules are used there.

It would be great if you could modify the remove() operator in such a way that when visiting pages opened in the background tab, there would be no unblocked ads.

This issue does not require immediate resolution, but please keep it in mind for the future if possible.