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

me_irl

5235 readers
1 users here now

Selfies for the soul.

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 55 points 1 year ago (10 children)

This already exists - @[email protected]'s blog already has a popup about not having an adblocker, although it is easy to dismiss. It's probably a bad idea to block content based on not having one, as detecting ad blockers is a losing battle (as YouTube is learning).

[–] [email protected] 31 points 1 year ago (4 children)

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)?

[–] [email protected] 6 points 1 year ago (1 children)

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.

[–] [email protected] 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.

load more comments (2 replies)
load more comments (7 replies)