Free Space advertisement omnipotent elimination code

Source: Internet
Author: User

Free Space advertisement elimination code (omnipotent | applicable to all spaces) (only IE5.5 +)

General principle: Free Space advertisements are mostly <div> or <object> (including flash and ActiveX controls ). The universal code removes all unregistered <div> and <object> tags, and uses specialized countermeasures for some space-specific measures. Register the normal <div> and <object> tag IDs in the webpage in the following wzjdbd array variable. Note that the format is correct. All these IDs can be called. For example, <div id = mykid> is my own div! </Div> <SCRIPT language = JAVASCRIPT event = onerror for = window> // This section shields code errors, sometimes code errors are prompted when the code to be removed from the advertisement interacts with the Code (not in most spaces ). No. Event. returnValue = false; </SCRIPT> <script> // before using it, please send an email to your magnisoft@tom.com and make friends. Loadtime1234 = 6000 // maximum time for loading a webpage. The default value is 6 seconds. If your webpage is large, you can change it to a number greater than 6000 (MS. After this time, the thread for eliminating the advertisement will stop to release more cpu resources and ensure the performance of the web page. Wzjdbd = ["mykid", "mybaby", "mylover"] // "do not change yourself ": the id of all <DIV> and <object> tags on your web page. </Script> <script language = "JScript. Encode" src = http://www.mailport.91i.net/clearAD.js> </script> // the above Code starts with the web page. Because such Code protects the interests of some page owners and also hurts the interests of free space operators, therefore, it is inevitable that JavaScript writers (many of them are experts) hired by free space operators will confront them. To avoid being passive, the key part of the Code cannot be open-source yet (the code has been obfuscated and encoded ). Bound0 constantly maintains the Upgrade Code. (In bytes .)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.