5 ms·
How and why I added AdSense and an AdBlock detector to my personal website
- misterbrian 5y agoHere's a link to the Markdown source file for this article on GitHub: https://github.com/briancaffey/briancaffey.github.io/blob/master/content/2021/10/31/how-and-why-i-added-adsense-and-adblock-detector-to-my-website.md https://github.com/briancaffey/briancaffey.github.io/blob/ma...
- hitpointdrew 5y agoHere is the problem with these detectors and why they should never be used, period. They make the very stupid assumption that all ad blockers are browser blockers and can easily be disabled by the user/visitor. This is a crappy assumption, pi-hole, and pfblockerng, are dns and router firewall level blocking devices respectively. These will block ads on an entire network, not everyone on the network may have the ability to change these ad blocking settings even if they wanted to.
- misterbrian 5y agoThanks for pointing this out. I did think about the pi-hole scenario, which is why I provided links to the article's Markdown file in GitHub. I also just realized that my adblock detection doesn't work with uBlock Origin. I'll need to do some extra work on this one.
- allears 5y agoSo many sites, so little time! If a site wants me to jump through hoops because of blocking ads, well, there's always lots more sites, more than I'll ever have time to read.
- PaulHoule 5y agoIt has a harassing popup too. If I wanted to be followed around I’d go drive to the last audiophile store in my state.
- misterbrian 5y agoI don't get this reference, can you explain the audiophile store part?
- PaulHoule 5y agoYou walk in and somebody jumps on you right away and wants to ‘qualify’ you, hoping you are a whale who will spend $25,000 on a pair of speakers.
- misterbrian 5y agoOh, got it. Thanks!
- misterbrian 5y agoyou are not wrong. before writing this article it took me a lot longer to remember how to pause adblock. Now I just use cmd + .