Open sportshead opened 2 years ago
Currently it's not possible to terminate the detection. Also if you mean pressing the button automatically, you might need to do with a userscript as uBO has not implemented adding vanilla script yet.
Also if the overlay get blocked the complete body get removed
Could someone take a look at the cosmetic filtering?
the site detects when the element in the top and side bar containing the exaroton ads is modified. Something else also breaks it but I can't tell what since I can't tell what the difference is in the logger
https://hakorr.github.io/Userscripts/Aternos/AntiAntiAdblock/course/ gives a whole page how aternos detection works. At the buttom of the page he gives a link to https://hakorr.github.io/Userscripts/Aternos/AntiAntiAdblock giving you a userscript for it. It worked for me and I hope that for other people using aternos who are willing to use userscripts it works too
Those work but only for Firefox
aternos.org##^script:has-text(_0x3d86bb)
aternos.org##^script:has-text(_0x575ee4)
aternos.org##^span[ykkrac="vDgUnYT"]
aternos.org##[class="header-link-exaroton"]
However they can't work on Chromium-based browsers (at least for now) as stated @ https://github.com/gorhill/uBlock/wiki/Inline-script-tag-filtering
Not supported in Chromium-based browser.
- Starring the related Chromium issue may help motivate Chromium devs to implement support.
- Falling back on wholesale blocking of all inline script tags may work.[1]
in the last uBO for chrome you can test
aternos.org##+js(rmnt, script, _0x3d86bb)
There we go then :)
aternos.org##^script:has-text(_0x3d86bb)
aternos.org##^script:has-text(_0x575ee4)
aternos.org##+js(rmnt, script, _0x3d86bb)
aternos.org##+js(rmnt, script, _0x575ee4)
aternos.org##^span[ykkrac="vDgUnYT"]
aternos.org##[class="header-link-exaroton"]
just tested it and it's blocking the ads on their site perfectly
I can make a PR for this, not sure which category it's supposed to go with though
Its unstable and doesn’t work, i just get a blank screen.
To make it a bit more stable, we can probably change how I hardcoded the exact variable names and make it look for the prefix _0x
of the obfuscation instead
aternos.org##^script:has-text(_0x)
aternos.org##+js(rmnt, script, _0x)
aternos.org##[class="header-link-exaroton"]
If anything else causes any sort of instability then it might be because rmnt
takes action once the DOMContentLoaded
is fired? Unsure if there's a way to make it run bit earlier than that.
And as for the blank screen, I am not getting any blank screens here, maybe it's caused as a result of interference with another filter(s)?
The inline scripts need to be executed or the start button and other buttons like the logout button stops working. I tried filter like
aternos.org##body > span[style]:remove()
aternos.org##+js(rpnt, script, body)
But the start button is still broken.
@JobcenterTycoon what about
aternos.org##+js(nosiif, , 100)
Same result.
When I came up with the filters in my above comment it worked, looks like they made a change to how their button clicks work (probably made it a part of their anti adblock)
Can we change the value returned by a JavaScript function on a site using uBlock? If that's possible I will proceed with updating my filters to reverse their patch
UPDATE: I got it. Try:
aternos.org##^script:has-text(_0x)
aternos.org##+js(rmnt, script, _0x)
aternos.org##[class="header-link-exaroton"]
aternos.org##[style*="z-index: 10123;"]:style(display: none !important)
aternos.org##+js(set, aia, trueFunc)
Okey, the filter you posted doesn’t work for me because i still get anti adblock but based on it i have working filter now:
aternos.org##^script:has-text(doubleclick)
!#if !cap_html_filtering
aternos.org##+js(rmnt, script, doubleclick)
!#endif
aternos.org##+js(rpnt, script, body)
aternos.org##+js(set, aia, trueFunc)
aternos.org##body > span[style]:remove()
Logout? Working. Start? Working.
Can you confirm?
Okey, the filter you posted doesn’t work for me because i still get anti adblock but based on it i have working filter now:
aternos.org##^script:has-text(doubleclick) !#if !cap_html_filtering aternos.org##+js(rmnt, script, doubleclick) !#endif aternos.org##+js(rpnt, script, body) aternos.org##+js(set, aia, trueFunc) aternos.org##body > span[style]:remove()
Logout? Working. Start? Working.
Can you confirm?
Both my filters and yours work for me. You can also completely remove their Exaroton banner using
aternos.org##[class="header-link-exaroton"]
Sure. The final filter (counters also old exception filter):
Edit: The filter are obsolete
Sure. The final filter (counters also old exception filter):
filter
aternos.org##^script:has-text(doubleclick) !#if !cap_html_filtering aternos.org##+js(rmnt, script, doubleclick) !#endif aternos.org##+js(rpnt, script, body) aternos.org##+js(set, aia, trueFunc) aternos.org##body > span[style]:remove() @@||hb.vntsm.com/v2/live/$xhr,domain=aternos.org,badfilter @@||tlx.3lift.com/header/auction?$xhr,domain=aternos.org,badfilter @@||fastlane.rubiconproject.com/a/api/fastlane.json?$xhr,domain=aternos.org,badfilter @@||bidder.criteo.com/cdb?$xhr,domain=aternos.org,badfilter @@||hbopenbid.pubmatic.com/translator?source=prebid-client$xhr,domain=aternos.org,badfilter @@||mp.4dex.io/prebid$xhr,domain=aternos.org,badfilter @@||prg.smartadserver.com/prebid/v1$xhr,domain=aternos.org,badfilter @@||venatusmedia-d.openx.net/w/1.0/arj$xhr,domain=aternos.org,badfilter @@||adx.adform.net/adx/openrtb$xhr,domain=aternos.org,badfilter @@||htlb.casalemedia.com/cygnus?s=$xhr,domain=aternos.org,badfilter @@||prebid.a-mo.net/a/c$xhr,domain=aternos.org,badfilter @@||vntsm.com/*/ad-manager.min.js$script,domain=aternos.org,badfilter @@||hb.vntsm.io/content.html$xhr,domain=aternos.org,badfilter @@||securepubads.g.doubleclick.net/tag/js/gpt.js$script,domain=aternos.org,badfilter aternos.org#@#.header-link-exaroton-link:style(pointer-events: none !important; max-height: 0.01235px !important; padding: 0px !important;) aternos.org#@#.sidebar:style(width: 1.74px !important; padding: 0px !important;) aternos.org#@#.ad-dfp:style(min-height: 0.0037px !important; height: 0.0037px !important;) aternos.org##.header-link-exaroton aternos.org##.sidebar aternos.org##.ad-dfp aternos.org###placement-takeover
Hello! I have the same issue with aternos, and the above filter did not work for me...
I just get a blank white screen.
Browser: MS Edge
https://hakorr.github.io/Userscripts/Aternos/AntiAntiAdblock/course/ gives a whole page how aternos detection works. At the buttom of the page he gives a link to https://hakorr.github.io/Userscripts/Aternos/AntiAntiAdblock giving you a userscript for it. It worked for me and I hope that for other people using aternos who are willing to use userscripts it works too
After following these instructions, I was able to successfully block ads on the site. Had to try a few different combinations of scripts, but eventually got it to work, ty!
Sure. The final filter (counters also old exception filter): filter
aternos.org##^script:has-text(doubleclick) !#if !cap_html_filtering aternos.org##+js(rmnt, script, doubleclick) !#endif aternos.org##+js(rpnt, script, body) aternos.org##+js(set, aia, trueFunc) aternos.org##body > span[style]:remove() @@||hb.vntsm.com/v2/live/$xhr,domain=aternos.org,badfilter @@||tlx.3lift.com/header/auction?$xhr,domain=aternos.org,badfilter @@||fastlane.rubiconproject.com/a/api/fastlane.json?$xhr,domain=aternos.org,badfilter @@||bidder.criteo.com/cdb?$xhr,domain=aternos.org,badfilter @@||hbopenbid.pubmatic.com/translator?source=prebid-client$xhr,domain=aternos.org,badfilter @@||mp.4dex.io/prebid$xhr,domain=aternos.org,badfilter @@||prg.smartadserver.com/prebid/v1$xhr,domain=aternos.org,badfilter @@||venatusmedia-d.openx.net/w/1.0/arj$xhr,domain=aternos.org,badfilter @@||adx.adform.net/adx/openrtb$xhr,domain=aternos.org,badfilter @@||htlb.casalemedia.com/cygnus?s=$xhr,domain=aternos.org,badfilter @@||prebid.a-mo.net/a/c$xhr,domain=aternos.org,badfilter @@||vntsm.com/*/ad-manager.min.js$script,domain=aternos.org,badfilter @@||hb.vntsm.io/content.html$xhr,domain=aternos.org,badfilter @@||securepubads.g.doubleclick.net/tag/js/gpt.js$script,domain=aternos.org,badfilter aternos.org#@#.header-link-exaroton-link:style(pointer-events: none !important; max-height: 0.01235px !important; padding: 0px !important;) aternos.org#@#.sidebar:style(width: 1.74px !important; padding: 0px !important;) aternos.org#@#.ad-dfp:style(min-height: 0.0037px !important; height: 0.0037px !important;) aternos.org##.header-link-exaroton aternos.org##.sidebar aternos.org##.ad-dfp aternos.org###placement-takeover
Hello! I have the same issue with aternos, and the above filter did not work for me...
I just get a blank white screen.
Browser: MS Edge
They were patched. You can use the Aternos website with uBlock if you're not bothered by their Exaroton ad
Is it possible to only have cosmetic filtering as a temporary fix?
https://github.com/uBlockOrigin/uAssets/issues/13144#issuecomment-1387172191
https://github.com/marvinschopf/disable-page-visibility-api/issues/4#issue-1944105129 also allows you to at least wait for the advertisements to finish without it knowing you've switched to another tab, although as https://github.com/marvinschopf/disable-page-visibility-api/issues/1#issue-1031103057 demonstrates, it's worth enabling solely when visiting https://aternos.org.
As of a couple days ago, Aternos' anti-adblock annoyances are no longer solved by activating "Block large media elements on this site." Also, there are new "ads" hard-coded to appear, all for the same product. As for the annoyance, its still the same big red screen "please don't use an adblocker" then you have to push a button to continue and wait 3 seconds. It's quite frustrating, but Aternos runs so many ad's its better to deal with that screen than all their ads.
this tampermonkey script works. The buttons work too. You will still need to use ublock origin to block the ads this just blocks the annoying big red screen that says it detects adblock
this tampermonkey script works. The buttons work too
Userscript
Everything is working fine on my end. Great job!
I copied the script into tampermonkey and have ublock origin but when I use aternos, it doesn't do anything when I press the start server button. Did I mess up somewhere? or did aternos just cuck the tampermonkey script 2 weeks into it being made?
I copied the script into tampermonkey and have ublock origin but when I use aternos, it doesn't do anything when I press the start server button. Did I mess up somewhere? or did aternos just cuck the tampermonkey script 2 weeks into it being made?
Looks like aternos changed the way their start button functions I can't check rn I'm busy sorry 😕 i might have to obfuscate the code to prevent patches.
I copied the script into tampermonkey and have ublock origin but when I use aternos, it doesn't do anything when I press the start server button. Did I mess up somewhere? or did aternos just cuck the tampermonkey script 2 weeks into it being made?
Hey i recently found out that DvilMuck is actively developing a userscript to bypass Aternos' antiadblock detection.
The code is obfuscated to prevent patches so please use at your own risk but im like 99% sure its safe
https://gist.github.com/DvilMuck/f2b14f3f65e8f22974d781277158f82a
If you disable Cosmetic Filtering, the AntiAdblock won't get triggered. If you then combine it with this userstyle I made then it will look identical to a full adblock :]
Prerequisites
I tried to reproduce the issue when...
URL(s) where the issue occurs
https://aternos.org/server
Describe the issue
See #12987 #12895 #12314 #12299 and others. aternos.org is still detecting adblockers and showing a "you are using an adblocker screen". The screen only shows after around 500ms (estimate) from page load and the normal page content can be seen before it shows.
Screenshot(s)
No response
Notes
Digging through it seems that the
script
tag with a base64 url is the culprit. I've tried blocking it with acs scriptlet but I don't really know how it works. The script tag is the last script tag when I view source.I also found that it uses MutationObserver in order to check for detection bypass. I think somehow breaking MutationObserver functionality with prototype pollution may work, however, I do not know how to accomplish that with uBO. Alternatively, the
Continue with adblocker anyway
button could perhaps be pressed and time somehow sped up? It checksDate.now()
withsetInterval
every 200 ms, which could be a way to break it.Configuration