Open TjeuKayim opened 1 year ago
Sorry, I selected the wrong category, this should not have been labelled 'documentation'
Maybe better fix:
tweakers.net##+js(aeld, bannerLoadEvent, adblock)
?
De fix werkt niet meer zo te zien.
Indeed. But there are two options now.
aa.tweakers.net
, which is not what we want as they track you via that domainedit: We opened an issue at uAssets to help us solve this.
The issue seems to be with this script: https://tweakers.net/x/build/components.016f7b17.js
The 016f7b17 part changes every once in a while, so you need a selector like this: 'components.*.js', but if you do that, the adblock-detection is gone, but so is the post moderation and post score.
Inside that script is the adblocker detection code, so you need to block scriptlets or replace some vars. Unfortunately, this is where my knowledge stops.
Broken again unfortunately.
||tweakers.net/x/build/components.*.js$script,first-party
Article is readable, but post moderation and post score are gone...
tweakers.net##+js(aeld, , handleAdblockDetect)
Seems ineffective.
Well, they succeeded... Had to disable uBO on that article.
test first (for breakage)
tweakers.net##+js(aeld, , /^e=>.*\(e\)$/)
or if broken
@@||tweakers.net^$shide
@@||tweakers.nl^$xhr,domain=tweakers.net
test first (for breakage)
tweakers.net##+js(aeld, , /^e=>.*\(e\)$/)
Seems to work (didn't encounter any breakage yet).
Of course you'll have to disable the latest commit (00da790):
@@||tweakers.net/x/build/components.*.js$script,first-party
@mapx- Fixed; chosen for the second solution because of https://github.com/uBlockOrigin/uAssets/issues/17294. Reopened this issue; every issue with Tweakers can now posted here in stead of opening new issues again and again.
I noticed that this rule was added:
||tweakers.net/x/build/components.*.js$script,first-party
If you comment out that rule, the site works again. This rule removes the adblock checker, but also removes the moderation options
@VanHamsteren This rule is already deleted. The problem is fixed in another way. See: https://github.com/EasyDutch-uBO/EasyDutch/commit/e04e658cd2a901056585da85d625a2169c339e8c
@SnowballV it should be fixed in https://github.com/EasyDutch-uBO/EasyDutch/commit/da679f804520d9987a3cc0a76cf4dd3eff2142b4. Try updating the list.
Purged and updated (twice), and refreshed the page, but on mentioned page, the issue is still there.
@SnowballV Most likely uBO used one of our CDN's to update. For those CDN's you have always to wait at least a day before the changes are applied.
Ah, OK, thanks very much. I'll test again, tomorrow.
@SnowballV I have updated two of the three CDN's (third CDN's can't be updated manually), so if you try in 30 minutes again you have now 75% chance that it will work.
OK, thanks, I'll try in half an hour.
Still the same. I'll test again, tomorrow.
@JohnyP36 told me that my changes were not working, tomorrow it should (I changed a rule, https://github.com/EasyDutch-uBO/EasyDutch/commit/ee715f05fc4ef244a7df3af18134e25c0bc94c6b).
Thank you very much. I purged and updated again, and now the issue is resolved. https://tweakers.net/reviews/9892/all/zoekmachines-en-je-privacy-googelen-zonder-alles-prijs-te-geven.html Thanks again.
I have fix ee715f0 received here, but still have the detection issue, even with uBO standard configuration.
uBlock Origin 1.49.3b8
Firefox 112.0.2
[Edit]
Solved.
uMatrix was still blocking aa.tweakers.nl
and ab.tweakers.nl
.
I had to refresh the page a couple of times, the anti-adblock is gone now. Thanks for the fix.
Reopened this issue; every issue with Tweakers can now posted here in stead of opening new issues again and again.
Due to a new adblock message on only the homepage, I have broaden the last added rule. I could find anything broken, if you find something, please report.
P.S. anti-adblock script can be found in https://tweakers.net/x/build/frontpage.5e29f9d5.js
Sorry, for disturbing you. My issue labeler didn't do what it should have done.
Script for anti-adblock is now https://tweakers.net/x/build/frontpage.50f1df5c.js
Blocking of https://tweakers.net/x/styles/components/cookiebar/cookie_bar.fd6f85fcf49475b8103620f801820c56.css breaks the (cookie pref) model boxes:
easylist dutch, ublock lite.
Important note by EasyDutch authors:
uBlock Origin uses four links to update our list in their add-on/extension.
The
contentURL
is instantly updated after a commit, and the same applies for the firstcdnURL
. The other twocdnURLs
are updated less.If there is a fix you need immediately, I can update mannualy two of the three CDN's: the first
cdnURL
and the secondjsDelivr cdnURL
by going to https://www.jsdelivr.com/tools/purge.Prerequisites / Vereisten
Describe the issue
Pages like https://tweakers.net/reviews/10768/gelikte-code-met-pyscaffold-python-projecten-ontwikkelen-als-een-pro.html are asking users to disable their adblocker.
Notes
After debugging with dev tools, I found that adding
tweakers.net##+js(set, window.BannerManager, undefined)
to 'My filters' in uBlock Origin bypasses the anti adblock. Though I have no experience writing these rules.Screenshot(s)