Hi, I’m looking for a script that blocks visitors who use an ad blocker browser plugin.
Ideally these users would be seeing a custom message like “disable your ad blocker to browse this website”.
Is there anything like that out there?
Hi, I’m looking for a script that blocks visitors who use an ad blocker browser plugin.
Ideally these users would be seeing a custom message like “disable your ad blocker to browse this website”.
Is there anything like that out there?
Hey there…
For detection you can implement https://github.com/jtmorris/ad-blocking-detector
And for blocking purpose you can implement https://github.com/thisismyurl/wordpress-adblock-blocker
One free advice if you don’t mind… I hop you won’t mind…
Just don’t block user directly, detect user who used addblock, display theme a solid message then take actions based on users response…
Happy Coding Friend.
Thanks a lot for the links peersolutions & thanks for your advice
have a great day