I am wondering, because I got a website login script and it uses this command:
if(document.getElementById('linkreg'))
document.getElementById('linkreg').onclick = function ()
{
ajaxSend(php_fileusr, 'susr='+texts['register'], adboxshow);
objLogare.adLogInr();
return false;
};
Anyways, this function is triggered when the register for a new account (same thing for recovering account but different script). Anyways, some users weren't able to register because the window never popped up. I figured out that this is caused by the adblock extension. I am wondering if there is any way to replace the command adboxshow. Does anyone know any alternatives that work the same but won't be blocked?
Thanks to comments from Poke and Cezary, I figured it out
I changed every function, class, or div that had the word "ad" in it, specifically starting with the word "ad" in order to make it compliant with ad blocker.
-I hope this helps others who are trying to make a website that has legitimate content that is not blocked by adblockers.