Home > Web Front-end > JS Tutorial > Free space advertising universal elimination code_advertising code

Free space advertising universal elimination code_advertising code

WBOY
Release: 2016-05-16 19:26:38
Original
1278 people have browsed it

Free space advertisement elimination code (universal||common to all spaces) (only IE5.5)

General principle: Most advertisements in free space are

or (including flash and ActiveX controls). The universal code will remove all unregistered
and tags and adopt specialized countermeasures for individual means in some spaces. Register the normal
and tag IDs in the web page in the wzjdbd (my own) array variable below. Pay attention to the correct format. These IDs can be called whatever you want. For example
This is my own div, don’t move it!

<script>//这一段是屏蔽代码错误,有时在广告消除代码与广告代码相互作用时会提示代码错误(绝大多数空间不会)。可以不用。 event.returnValue=false; </script> <script> // 使用之前请发送一封电子邮件至magnisoft@tom.com ,大家交个朋友。 loadtime1234=6000 //加载网页的最长时间,默认是6秒,如果你的网页比较大,可以改成比6000(毫秒)更大的数字。这个时间过后,消除广告的线程将停止,以释放更多的cpu资源,保证网页的性能。 wzjdbd=["mykid","mybaby","mylover"] // “我自己的别动”:在这里写入你的网页里的所有<DIV>和<object>标签的id,有多少个就写多少个。 </script> //The above code is placed at the beginning of the web page. As the saying goes, "As high as the road is, so high as the devil", since this type of code not only protects the interests of some page owners, but also harms the interests of free space operators, it is inevitable that js written by free space operators will be employed. The hands (of which there are many masters) are fighting against the subordinates, so in order to avoid being passive, the key parts of the code cannot be open source for the time being (the code has been obfuscated and encoded). bound0 will continue to maintain and upgrade the code. (The public core code located at http://www.mailport.91i.net/clearAD.js will be upgraded regularly, and you do not need to modify your web pages during the upgrade process.) <script></script>
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template