[Visiting the site for the first time and clicking on a video opens a new tab (the video) while the previous tab redirects to ero-advertising.com. I can get this to trigger every time I clear cookies.]
Yes it does seem a few different buttons don't work like login/register or minor things like download.
minor things like download.
I would say breaking the download functionality is not exactly a "minor" issue. ;)
Fixed.
Is there a possible better filter for this? I looked into https://static.spankbang.com/static_desktop/gen/packed.v4.main.c22a3657.js and i tried the filter spankbang.com##+js(std, document.location.assign, 25) this prevents the popunder but creates the second tab which is an annoyance.
Then i tried spankbang.com##+js(aopr, analytics_track_event) but this gives errors in the console saying it's been declared (sorry not great at JS so idk if that's bad or not). but this does prevent the popunder and it doesn't create the second tab. it also has some breakage like not being able to change video quality so idk.
try spankbang.com##+js(set, window.open, noopFunc)
spankbang.com##+js(set, open, noopFunc)
works for me.
You don't need the window part, it is implied for the first argument.
yeah that works for me too.
Hi @okiehsch
It seems your change has completely blocked window.open function on this site. Some of the site's functionalities (downloading, uploading, etc) are completely broken.
I looked at how Adguard is blocking pops (https://github.com/AdguardTeam/AdguardFilters/commit/6afc271f86d85d01bbca4ca7436eb5817964ea2c), they set bbm_pp_mobile cookie to 1. On desktop it seems to be bbm_pp_desktop that needs to be set.
What do you think?
Thanks!
could you test downloading / uploading / other functionalities using these filters ?
spankbang.com#@#+js(set, open, noopFunc)
spankbang.com^$csp=sandbox allow-forms allow-same-origin allow-scripts allow-modals allow-orientation-lock allow-pointer-lock allow-presentation allow-top-navigation
I tried it and it wont let you even click the download button. Guess the *$popunder,3p,domain=spankbang.com will have to used for now until some possible filter can surface that doesn't break the site.
site's functionalities (downloading, uploading, etc) are completely broken.
I don't have an account, which appears to be needed to download, but if that is the case we will have to remove the filter.
they set bbm_pp_mobile cookie to 1.
uBO does not support the possibilty to set cookies because of security concerns.
Most helpful comment
try
spankbang.com##+js(set, window.open, noopFunc)