Soap2day.ac unblocked popups (and solution) : r/uBlockOrigin Skip to main content

Get the Reddit app

Scan this QR code to download the app now
Or check it out in the app stores
r/uBlockOrigin icon
r/uBlockOrigin icon
Go to uBlockOrigin
r/uBlockOrigin

An efficient blocker add-on for various browsers. Fast, potent, and lean.


Members Online

Soap2day.ac unblocked popups (and solution)

Solved

uBO ver. 1.45.2 Firefox ver: 101.0.1

Steps to reproduce:

Go to http://soap2day.ac

Attempt to watch any media there

On page with the video player, click literally anywhere

A popup will appear. This will happen for 3 clicks before ceasing. Then it will not happen again until a new URL is loaded. It for some reason will NOT happen again on page refresh.

Current solution:

soap2day.ac##+js(aeld.js, click, _0x90b0be)

Add this to your filters list. It seems the site just developed a new method its popup delivery and this stops the click event listener that does so. Its existed for a few days so I developed the solution myself. Figured I'd help get this solution onto uBlock's list.

Archived post. New comments cannot be posted and votes cannot be cast.
Share
Sort by:
Best
Open comment sort options

Interesting.. can you explain the three arguments in your function, I guess the first is the js file name, second is the action that triggers the desired behavior to be blocked and the last one is the function name to be blocked or

u/re11ding avatar

https://github.com/uBlockOrigin/uBlock-issues/wiki/Resources-Library#aeldjs-

I'm still learning about all of it myself, but essentially the site was creating an event listener for clicks on the head of the page itself. I discovered this by opening console and clicking "event" next to <head> in the HTML. Assumedly the event listener was a click event or a mousedown event, so I just toggled each one until eventually when I clicked, it didn't happen. Once I found the section that did it, I used the function listed above. You can, alternatively, use https://github.com/uBlockOrigin/uBlock-issues/wiki/Resources-Library#addeventlistener-loggerjs- to find event listeners created by the site.

When you add +js() to a rule, what goes inside depends on the function you're trying to achieve, however the first part is always the function from that list I linked. aeld stands for addEventListener-defuser, which essentially defuses an event listener you specify. The second parameter is specifying the type of event it is, and the last one is a string in the script that creates the event you're trying to defuse. I don't mean a string var, I mean anything that's contained in the script itself. In this case, the event listener creation I wanted to block started with

function(_0x90b0be)

so I had it look for that strange hexidecimal as the third parameter.

Perfect explanation , you're really a good teacher even if it's new to you too.. I'll look into the console for the "event" that you found that string content and how you figured which one exactly (and I'll re-comment if I've issues figuring it out) but other than that it's very clear thanks again !

I just tested it, first for me ublock block all pop ups by default (unless I turn it off) , secondly, I couldn't find the 'event' you mentioned in the <head> even when I turned off the ublock there was no 'even't anywhere near the <head> element.. if you could help me find it and where you toggled the different ones to find it out which one responsible for pop ups.. thanks again

u/re11ding avatar

Make sure to have ublock completely turned off. It seems that they have fixed it on the official list so now it doesn't show up in the event list unless unblocked.

I see.. but where does it show up to you? in the console on the head element I see no event icon maybe its in another tab not the console tab? I disabled the ublock and I get the pop up but don't see any 'event'

more replies More replies
More replies
More replies
More replies
More replies
u/userredon avatar

guys have you tried updating filters???

u/re11ding avatar

Yep! Repeatedly!

u/userredon avatar

i can't reproduce anything

u/re11ding avatar

Is there a secondary method to updating other than purging the caches and redownloading? Because if not, then I've been doing it right.

u/re11ding avatar

Scratch the previous response, it seems that it finally was put onto the main list so it no longer happens. No wonder why you weren't experiencing it!

u/userredon avatar

so i call it solved for you?

more reply More replies
More replies
More replies
More replies
More replies
u/Laodjioias avatar

Thanks for this.

u/andbeuwoaodnrvwu avatar