Hacker GitHub

← All repos

sitexw/FuckAdBlock

View on GitHub ↗ ★ 1,898 JavaScript

Detects ad blockers (AdBlock, ...)

6 mentions on Hacker News by 6 people: 2 stories, 4 comments · first 2015-09-02 · latest 2017-09-05

Mentions per year 6 mentions · busiest year 2015 (5)
20082026
  1. There are a number of scripts out there that detect adblock, for instance: https://github.com/sitexw/FuckAdBlock Then it's just a matter of using some basic JS to hide content, show a notice, etc.
  2. …blocking content if an adblocker is enabled. A very quick google search should have shown you : https://github.com/sitexw/FuckAdBlock However, most of the time, I am reading some news, or blogs, if the content is blocked, I just close the…
  3. Already existing. After https://github.com/sitexw/FuckAdBlock was invented, and I got annoyed, I reported https://github.com/sitexw/FuckAdBlock/issues/26 and wrote this solution to the issue https://github.com/sitexw/FuckAdBlock/issues/26#i…
  4. Why don't more publishers try to detect the ad blockers with stuff like this? https://github.com/sitexw/FuckAdBlock And then they could throw up a page that says "Sorry, AdBlock must be disabled to view this content"