2026-10-03 03:24 UTC
ok ok ok ok look I use DNS level ad blockers, I’m big in favor of them, but this is the dumbest shit ever.
Running client side JavaScript that detects when an advertisement failed to load and then popping a request to disable your ad blocker is in no way, shape, or form “spying”.
Don’t get me wrong, plenty of sites absolutely spy on you, and the ads themselves definitely spy on you.
But being able to detect that ads didn’t load? It’s completely client side and is not spying 😂
That last line is just real bad logic.
Replies (1)
-
@bnn1@thelemmy.club 2026-10-03 04:18
yep for websites that’s literally just checking if their ad element exists in the DOM tree. const myAdElementSelector = "#fuckingAd"; const myAdElement = document.querySelector(myAdElementSelector); if (!myAdElement) return "yes user is using adblocker"; simple as. or maybe not honestly i don’t know i just wanted everyone to know i know javascript.