Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 1791

Extension Writers Discussion • My block adblock script doesnt work anymore

$
0
0
Looks like the adblockers got smarter.

Mine stopped working some years ago.
Does anybody have a solution?

Code:

<!-- IF (U_SEE_ADS and ENABLE_ADBLOCK_WARN or S_ADSENSEADS) and not (ENABLE_TOTAL_TOPIC_BLOCK and S_VIEWTOPIC) --><!-- IF (ENABLE_ADSENSE_TESTMODE and U_ACP) or not ENABLE_ADSENSE_TESTMODE --><script>$(document).ready(function() {if($("#{AGANDALF}").outerHeight() === 0)$("#{DISPLAYWISE}").html("<div class='panel noscriptcss noscriptcssresponsive'><p class='warntext'><!-- IF S_USER_LOGGED_IN --><strong>{S_USERNAME}</strong>, <!-- ENDIF -->{ADBLOCK_WARN_TEXT}</p></div>").show();}); </script><!-- ENDIF --><!-- ENDIF --><!-- IF (U_SEE_ADS and ENABLE_TOTAL_TOPIC_BLOCK and S_VIEWTOPIC) --><!-- IF (ENABLE_ADSENSE_TESTMODE and U_ACP) or not ENABLE_ADSENSE_TESTMODE --><script>$(document).ready(function() {if($("#{AGANDALF}").outerHeight() === 0)$("#{ARANDOM}").css("display","none");}); </script><script>$(document).ready(function() {if($("#{AGANDALF}").outerHeight() === 0)$("#{TOPICWISE}").html("<div class='panel noscriptcss noscriptcssresponsive'><p class='warntext'><!-- IF S_USER_LOGGED_IN --><strong>{S_USERNAME}</strong>, <!-- ENDIF -->{TOTAL_TOPIC_BLOCK_TEXT}</p></div>").show();}); </script><!-- ENDIF --><!-- ENDIF -->

Statistics: Posted by Stoker 4.0 — Wed Jan 08, 2025 9:08 pm



Viewing all articles
Browse latest Browse all 1791

Trending Articles