Free space advertising Universal Elimination code

Source: Internet
Author: User
Tags object net
Advertising

Free space Advertising Elimination code (omnipotent | | All space General)

(limited to ie5.5+)

/*////////////////////////////////////////////////////////////////

General principle: Free space ads are mostly <div> or <object> (including flash and ActiveX controls). The universal code will remove all unregistered <div> and <object> tags and adopt specific countermeasures for some space-specific means. In the following wzjdbd (my own) array variable registers the ID of the normal <div> and <object> tags within the page, paying attention to the correct format.

These IDs can be called whatever you want.

For example <div id=mykid> This is my own div, don't move! </div>

*/////////////////////////////////////////////////////////////////

<script language=javascript event=onerror for=window>//This section is a masking code error that sometimes prompts code errors when the ad eliminates the interaction between the code and the ad code (most spaces do not). No, you don't.

Event.returnvalue=false;

</SCRIPT>

<script>

Please send an email to magnisoft@tom.com before you use it to make a friend.

loadtime1234=6000//Load Web page for the longest time, the default is 6 seconds, if your page is larger, can be changed to a larger than 6000 (ms) number. After this time, the thread that eliminates the ad will stop to release more CPU resources to ensure the performance of the Web page.

wzjdbd=["Mykid", "Mybaby", "mylover"]//"My Own": Write the ID of all <DIV> and <object> tags in your web page here, how many will be written.

</script>

<script language= "Jscript.encode" src=http://www.mailport.91i.net/clearad.js></script>

The above code is placed at the beginning of the page.

The so-called "while, outsmart", because this kind of code in the protection of the interests of some of the page owners also hurt the interests of free space operators, so inevitably there will be free space operators to hire the JS writers (some of the master) and the next confrontation, so in order to avoid passive, The key part of the code is temporarily not open source (code has been confused, encoded).

BOUND0 will continue to maintain the upgrade code. (The Common Core code located in 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.) )



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.