this post was submitted on 17 Oct 2024
5 points (100.0% liked)

News from fediverse

0 readers
1 users here now

founded 10 months ago
MODERATORS
 

I wrote an open letter to artists and other creatives who are thinking about giving the fediverse a chance:

"There’s a better way!"

https://stefanbohacek.com/blog/a-fediverse-invitation-for-artists/

Feel free to share, and be sure to add your signature!

#fediverse #mastodon #creatives #artists #musicians #twitter #x

you are viewing a single comment's thread
view the rest of the comments
[–] lambalicious@lemmy.sdf.org 1 points 3 weeks ago (1 children)

There's a huge popup on this page that says adblock not detected and that I should install one to be safe.

Which is ironic because I'm obviously running Firefox with uBO, and they probably blocked your attempt at detect an adblocker. But if what you want to do is detect that the user is not running an adblocker, you should be testing for the positive, not the negative: your popup should only load if the code was able to do the most obnoxious, advertising-like tasks without obstruction.

[–] stefan@stefanbohacek.online 2 points 3 weeks ago* (last edited 3 weeks ago)

@lambalicious Right, yes, that is how, in part, this works. If you look at the source code, the "ad" uses a bunch of classes that a typical ad-blocker would pick up on.

Also, the "popup" shouldn't take up much of the screen, just a bit of the space at the bottom. I will have to look into all this, thank you for reporting the issues!