Created
January 28, 2014 11:06
-
-
Save ilowkey/8665750 to your computer and use it in GitHub Desktop.
anti-adblock
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="ads"><script type="text/javascript" src="http://js1.bloggerads.net/showads.aspx?blogid=xxxxxxxxxxxx&charset=utf-8"></script></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="ads">這裡是廣告代碼</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
$(document).ready(function() { | |
(0 >= $("#ads").innerHeight() || 0 >= $("#ads").innerWidth()) && alert("勸說的文字") | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment