The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
AdBlock Alert Module
Most people browsing the Internet are using AdBlockers all the time, making it pretty hard for smaller sites to earn revenues with Adsense and such, right ?
Let's say your site is made in such a way that your ads are well integrated, not anoying or flashing at all. The fact visitors see them doesn't affect their browsing experience at all, and gives you a chance to earn revenues in order to cover hosting fees. There used to be a few mods on vB3 to do that: A mod that displays a notice asking users to disable their adblockers. This notice is only displayed when an adblocker is detected. Once the adblocker is disabled, or the concerned site added to the visitor's white list, the notice is gone. I already have a Javascript to detect adblockers, if that helps (It's tested and working on vB4): Code:
<script type="text/javascript"> var ads = new Array('ad_global_below_navbar'); var msg = 'TEST'; onload=function() { for(i in ads){ el = document.getElementById(ads[i]); if(el){ if (el.offsetHeight == 0){ alert('AdBlocker Activated'); } } } } </script> Let me know what you think |
#2
|
|||
|
|||
need this also! that one isnt working https://vborg.vbsupport.ru/showthread.php?t=229984
|
#3
|
||||
|
||||
I found one online and put it on my site for unregistered users only... you guys want to visit and see how it works? I'm interested if there are any false positives or missed blockers that aren't detected...
http://www.juot.net/forums/ If it's working well I'll post up the code. No reason it wouldn't work on VB4 it's javascript- doesn't depend on VB really. |
#4
|
|||
|
|||
Any updates on this?
|
#5
|
||||
|
||||
It was working fine for me for a while, then I personally uninstalled it but I put up the instructions here: https://vborg.vbsupport.ru/showthread.php?t=254450
It will work for VB4 as well as VB3. |
#6
|
||||
|
||||
So simple, yet it works! Thank you!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|