2019
me🚫irl (files.catbox.moe)
submitted 1 year ago by Masimatutu@lemm.ee to c/me_irl@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] affiliate@lemmy.world 31 points 1 year ago

i don’t really know what im talking about, but wouldn’t it be a bit easier in this case since the goal isn’t to evade the ad blocker? rather than try to detect the ad blocker, wouldn’t it be possible to design the pop up so that it’s easily detected by ad blockers (or annoyance blockers)?

[-] ShittyKopper@lemmy.blahaj.zone 8 points 1 year ago* (last edited 1 year ago)

If you're not serving data from a popular ad server like google/doubleclick there will always be a false positive or two, especially with things like hosts-based ad blockers that are extremely rudimentary but work ~60-70% of the time.

And if you manage to serve data from doubleclick then either you're working for them or something has gone horribly wrong. In either case just putting up a script to say "please use an ad blocker" is the least of your concerns.

[-] SnipingNinja@slrpnk.net 3 points 1 year ago

Yeah, I use this one and got served with the popup as expected

[-] KiranWells@pawb.social 6 points 1 year ago

Not all ad blockers remove elements from web pages, and if they acted that predictably you could detect the ad blocker by detecting whether an expected element is hidden.

I have not looked through an ad blocker's code, but I don't believe it is that simple.

[-] autokludge@programming.dev 4 points 1 year ago

Looking at this blogpost for a wordpress blocking plugin, it basically is just adding a bunch of css classes commonly used by ads to a div and some workarounds to support ad blockers that work by blocking files.

this post was submitted on 25 Oct 2023
2019 points (99.1% liked)

me_irl

4 readers
2 users here now

Selfies for the soul.

founded 5 years ago
MODERATORS