如何使用jQuery阻止或检测AdBlock(不需要GitHub)

时间:2016-08-25 16:14:41

标签: search share adblock

我们在网站上使用lukkr.com的广告拦截检测器。 但是我们需要jQuery版本。 https://lukkr.com/anti-adblock-script/

<!-- Customize / change AdBlock Alert here -->
<script>var abpalertmsg="AdBlock is enabled. \nPlease keep supporting us by disabling your ad blocker. \n\nThank You!";</script>

<script>!function(){var e=document.createElement("script");e.type="text/javascript",e.async=true,e.src="//lukkr.com/website/noadblock.js";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}();</script>

0 个答案:

没有答案