Popup blocker doesn't work on rarbg.to
-
AFAIK, popup blocking is enabled in vivaldi://settings/content, which is actually Chrome's settings page. On that particular website, however, blocking doesn't work and any first click takes me to a betting or shopping site. On Chrome there's a brief flash of a new tab that gets instantly closed but on Vivaldi shopping page loads in the current tab and I have to go back. At this point their script gets deactivated until I open the site the next day or if I open it in a new tab a few hours later.
I can't figure out their exact criteria. Click or ctrl+click activates the popup but "open in new tab" from right click menu doesn't. Their time limit for reactivating that script is mysterious, too. I've tried "inspect" to locate the offending script but I see nothing suspicious attached to elements. Their homepage itself is apparently safe but pages like https://rarbg.to/torrents.php aren't.
Since we can't fix the popup blocker there must be a way to find the script and disable it from loading via adblocker like extensions. It should show up somewhere in developer tools, I just can't find it.
-
Thanks for the ideas. I think this is one of the offending scripts and its inline so can't block it based on url:
var _wm_settings={popunder:{url:"http://adrunnr.com/?placement=401444&redirect",times:3,hours:6,cookie:"expla2",fastbind:true}};
It's triggered by another inline script and relies on dyncdn.me/static/20/js/expla5.js to set the cookie.
Addblock+ people recommend this rule:
@@||dyncdn.me/static/20/js/expla5.js ||rarbg.to^$script ||clicktabs.net^$popup
https://adblockplus.org/forum/viewtopic.php?f=1&t=49786
uBlock accepts it without problems, too. I'm not sure popups are blocked yet because time limit is set to 6 hours by the script. Not sure what the third line is for either, and second line disables all inline javascript so it removes
"If you are missing comments, posters, screenshots , download , magnets , trailer , imdb links its because you are using adblock. The good folks from adblock are blocking everything!"
line at the top, too. Could have done the same thing from vivaldi://settings/content and blocking javascript for rarbg.to. Site's functionality is not affected as far as I can see. Dyncdn hosts all their images, css, and functionally important javascript so blocking it altogether is not an option.
In the end that's what I did - disabled javascript from within Vivaldi and commented out uBlock new rules. Now I just have to wait and see if popups are gone.
-
So far everything works, but I'm not a registered user there so can't test login.
Javascript attached to the search box only shows a tip that you can search by name, description etc. At least that's what I see from source code. There are no dropdown selections as you type and never have been on this site.
The function attached to login and password boxes is "clickclear" and it's not in page source so must be in a linked and not blocked .js file somewhere else.
Is there a way to disable individual functions by their names in Vivaldi or uBlock? That would be the ultimate solution.
-
@dLeon said in Popup blocker doesn't work on rarbg.to:
rarbg.to https://dyncdn.me * block rarbg.to https://rarbg.to/vxsnjklrmtfdep.js * block trk.ablogica.com http://trk.ablogica.com * block
The first line of your rules blocks everything from dyncdn.me, not just javascript but images and css. As I was typing this reply I noticed that their source page changed dyncdn.me to totalstatic.com. If I adjust the rule accordingly it breaks the whole page, and if I keep dyncdn.me the rule isn't applied anymore.
"vxsnjklrmtfdep.js" doesn't appear in the source page nor in network log in Vivaldi's developer tools. Nor its content the same as expla5.js that has functions for the popup/popunder. Perhaps their php adds it depending on region or on some other rules.
"ablogica" domain shows up when popup/popunder is activated, for which I have to wait six hours to check, but whether its content is blocked or not shouldn't matter because by that time popunder should already replace the page.
uBlock rules is an interesting area to play with but in source page popunder is activated by inline script so blocking js for rarbg in Vivaldi settings so far works the best. Popunder also relies on functions from external scripts but I just seen them switch the source from one domain to another so hunting them down is trickier.
For now I allowed all js from rarbg and set these rules in uBlockO:
rarbg.to https://dyndns.me/static/20/js/expla5.js * block rarbg.to https://totalstatic.com/static/20/js/expla5.js * block
Let's see if it works.
-
Just seen rarbg try and open a popunder with rules from the previous post in place. It looked like the page reloaded and uBlockO opened a warning page in the background, but it stopped it not because of "My rules" but because the target is in their default filter.
Either rules have to be tweaked further, or uBlockO warning pages disabled (how?), or the javascript has to be blocked for the entire site.
-
Today uBlock opened the warning page in place. I don't want to install extra addons just for this one site so I've disabled javascript for it in settings, which is "chrome://settings/content" if anyone can't find them. Vivaldi would open the correct page but change url to "vivaldi://..."
-
@Gwen-Dragon Yeah, that, too.
Chrome/Chromium in incognito mode don't stop these popunders either and with six hours delay it's hard to check but I saw it opened up when I disabled uBlockOrigin in Chrome.
In any case, since it's controlled by addons even in Chrome then it shouldn't be discussed here but, perhaps, on uBlock forums or whatever one uses to stop popups.
-
@StanG However, uBlockOrigin in Chrome kills the popunder in its default configuration, there are no My rules or My filters there at all - I just installed it from Chrome webstore and it works. On Vivaldi it somehow doesn't.
-
After some messing around I've finally found a working solution: in uBlockO rules add these two lines:
|https://$script,domain=rarbg.to
|http://$script,domain=rarbg.toAnd then right-click - block element for the annoying message that appears at the top of each rarbg page.
The result is that all useful scripts on the site work, and it doesn't complain about cookies or that you are a robot and need to prove your humanity - things that came up after disabling javascript for the entire site in vivaldi/chrome settings.
Alternatively, use Adguard where rules for this particular site are already built-in.
-
Ppafflick moved this topic from Vivaldi for Linux on