social.tchncs.de is one of the many independent Mastodon servers you can use to participate in the fediverse.
A friendly server from Germany – which tends to attract techy people, but welcomes everybody. This is one of the oldest Mastodon instances.

Administered by:

Server stats:

3.9K
active users

Beko Pharm (deprecated)

@thomasfuchs meanwhile two of mine…

Edith says: This is kinda blowing up and many ask how this is done.

See social.tchncs.de/@bekopharm/11 for an explanation.

See stefanbohacek.com/project/dete for project details.

@bekopharm @thomasfuchs Out of curiosity, how does it work? Does the ad blocker detect this message as an ad and block it or is it actually detecting it somehow?

@crystal @thomasfuchs it's mostly a bunch of css classes that some ad blockers would detect as advertisement and hide from the page automatically.

There is also a "css" file that is named after a well known ads js script. When this is blocked it's not hidden on the page.

I lifted the source for a Hugo page of mine from this project: stefanbohacek.com/project/dete See it in action (or not) on SimPit.dev

It's not 100% perfect, detects no DNS block or so but hey… :D

It's author is @stefan

stefanbohacek.comDetect Missing Ad-blocker WordPress plugin | Stefan BohacekProvide a more secure experience to your website’s visitors.

@Firesphere it's not mine. I murder-copied it from @stefan 🙃

Good job!

@bekopharm @stefan Fair, but you introduced me to the idea... 😆 (And I'm ashamed I never thought of it myself before)

@bekopharm @thomasfuchs much as I have a very small audience, I would like something like that.

@bekopharm @thomasfuchs Made me realize that I need to configure uBlock