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.



  • The popup script come from 1st party. So, it will be hard to block that, except you want to block rarbg.to page||script it self.

    I use uMatrix hosts block so it block the targeted page. uBlock0 also has option for hosts file subscription, not sure if that work. I use both, uMatrix catch the popup first but still open a tab.

    From that page source page though you can try to block http://adrunnr.com/. It the first noticeable pop script in it.

    Edit:
    uMatrix block these on that page:

    • s.click.aliexpress.com
    • dyncdn.me
      Like I said it still open a tab. At least it not contact homebase.
      Edit2:
      Add markups. It should not become dangerous links


  • @dLeon

    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.



  • @StanG said in Popup blocker doesn't work on rarbg.to:

    var _wm_settings={popunder:{url:"http://adrunnr.com/?placement=401444&redirect",times:3,hours:6,cookie:"expla2",fastbind:true}};

    Yes this kind. The popup also born after 5-6 click.

    If 1st party scripts is being block, most of time no other scripts will run. That login box and probably search function will broken, I don't test it. These thing usually scripted.

    Edit: Over quote.



  • 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.



  • I give these in uBlock0 "My rules". Nothing in "My filters"

    rarbg.to https://dyncdn.me * block
    rarbg.to https://rarbg.to/vxsnjklrmtfdep.js * block
    trk.ablogica.com http://trk.ablogica.com * block
    

    Come in mind but not tested disable cookies or just 3rd pary cookies for rarbg.to domain.

    So far, after some minutes test, no popup showup.
    For vxsnjklrmtfdep.js, no idea what's that's for. Disable it if it effect something.



  • With my settings above all suggested Adblock+ rules you mentioned above seem being handle too.
    Basically, all funny things seem being block if you stare that uBlock0 logs.



  • @StanG Please put your code in single backticks if a one-lineer, or 3 backticks for code blocks.

    Looks nicer. I did it for you.



  • @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.



  • Yes, if only uBlock0 used, it will still produce uBlock0 warning page. Which it self annoying.

    Originally, I'm using uMatrix (also by gorhill) for hosts file block & network block. I only use uBlock0 only for EasyPrivacy & self build rules. EasyList or Fanboy* lists are heavy that is.

    These my uMatrix rules for rarbg.to

    * * * block
    * * css allow
    * * frame block
    * * image block
    * 1st-party * allow
    * 1st-party image allow
    rarbg.to (put thumbnails service domain here) image allow
    

    Without uBlock0 rules I created above, they give same effect for me, no popups no pages open. The different is, it faster that any adblockers overall.



  • 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://..."



  • @StanG For 1.6 this settings page can be opened by vivaldi://chrome/settings/content



  • @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.



  • In a thread i read that there is a sort of script that is help full for blocking popup but some how although i am not very much sure but i thing there is another solution just like VPN. Yes with help of VPN you can also block popup because usually popup appear according to their broadcast region so if you run rarbg from a geo-restricted region with the help of VPN then you can block popup.



  • @adilmalick88 said in Popup blocker doesn't work on rarbg.to:

    In a thread i read that there is a sort of script that is help full for blocking popup but some how although i am not very much sure but i thing there is another solution just like VPN. Yes with help of VPN you can also block popup because usually popup appear according to their broadcast region so if you run rarbg from a geo-restricted region with the help of VPN then you can block popup.

    Ooh i forgot to add the reference that from where i got this idea: vpnranks_com/unblock-rarbg/



  • 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.to

    And 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.


Log in to reply
 

Looks like your connection to Vivaldi Forum was lost, please wait while we try to reconnect.