Using JS for something good: I'll add adblock detection to my website, and If a visitor does not have adblock installed, this shows up:
And done. How it works: https://teddydd.me/2022/adblock-detection-good-use-case/
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!