#2137 - Detect ad blockers
| Identifier | #2137 |
|---|---|
| Issue type | Feature request or suggestion |
| Title | Detect ad blockers |
| Status | Open |
| Tags |
Has Patch (custom) Roadmap: Over the horizon (custom) |
| Handling member | Deleted |
| Addon | banners |
| Description | If an ad blocker is in action, detect this, and either (based on configuration):
1) show a "do not block ads" message at the top of the site [default] 2) block the whole page view Iff the user is not in a group that has privilege to avoid the adblock detection (i.e. people can be given the privilege to get away with adblocking, which could, for example, be sold with a usergroup subscription - probably along with the avoid banners privilege). By default say that you should provide a donation if you want to get rid of ads (to cover website costs), or add the site to the ads whitelist - and that you promise to not show bad kinds of ads (I think there's a standard policy for this that can be referenced). Make this be controlled via a config option, the text customisable easily. Use a clean JavaScript function to detect the blocked ads that can be overridden in a theme. The detection of banner blocking would be quite hard. Perhaps the best way to do it is with a false-positive invisible banner, and see if that becomes even more invisible (or removed) via some external actor. Here's a technique for external ads: https://davidwalsh.name/detect-ad-blocker |
| Steps to reproduce | |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments