Quick Search for:  in language:    
IE3NS4,phrasing,stop,script,running,could,ver
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
Java/ Javascript Stats

 Code: 220,465. lines
 Jobs: 89. postings

 How to support the site

 
Sponsored by:

 
You are in:
 

Does your code think in ink?
Login





Latest Code Ticker for Java/ Javascript.
Gobang
By Geniusbob Xu Qiang on 11/27


Click here to see a screenshot of this code!Salary
By Vikram Ivatury on 11/25

(Screen Shot)

Click here to see a screenshot of this code!A (part10) Powerful Swing Code to Maintain CD Database
By James Smith K on 11/25

(Screen Shot)

String Calculator
By MadokaCoder on 11/24


Chobi Dekha
By ShuvoRim on 11/23


Click here to see a screenshot of this code!A basic Client Server application II
By Ronald Holland on 11/23

(Screen Shot)

Bookmark image
By darren kurn on 11/22


myFT
By Owolabi Oyapero on 11/22


Click here to see a screenshot of this code!Simple Socket example
By Steven McElrea on 11/20

(Screen Shot)

Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!

Affiliate Sites



 
 
   

Using Browser BUG to Kill Any Ads.

Print
Email
 

Submitted on: 10/12/2002 11:00:52 AM
By: vivalite 
Level: Intermediate
User Rating: By 6 Users
Compatibility:JavaScript

Users have accessed this article 5325 times.
 
 
     Use IE3+/NS4+ phrasing bug to stop the script running. It could be very useful when your web-host attach their ads code under your webpage. Just add below code in the end of your webpage then all done! No ads. code can be execute!(Work on both Internet Explorer and Netscape browser)

This article has accompanying files
 
 
Terms of Agreement:   
By using this article, you agree to the following terms...   
1) You may use this article in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this article (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this article from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the article or article's description.
See the source code in ZipFile Please

winzip iconDownload article

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.

Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:
1)Re-scan downloaded files using your personal virus checker before using it.
2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this article, you agree to the following terms...   
1) You may use this article in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this article (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this article from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the article or article's description.


Other 3 submission(s) by this author

 

 
Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
Your Vote!

What do you think of this article(in the Intermediate category)?
(The article with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
10/12/2002 8:11:54 PM:Rudy Cortez
so, were's the code?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/13/2002 8:53:32 AM:
Put The Bug Here??? What bug?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/13/2002 11:47:32 AM:SoclateZ
And what if they add the ads on the top of the code? =] OOps!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/13/2002 2:26:48 PM:
most of the free webhosting-companys are putting a banner or frame at the top... :q
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/15/2002 2:48:20 PM:o
Well then... use it at someone who don't put the ads in a frame or at the top...
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/18/2002 10:20:40 AM:Joox
Why don't you use AdKilla? :D Removes Banner from 88 Webhoster :P http://www.Tech-Productions.de
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/24/2002 9:53:21 PM:
Great !!! I was searching for a script like this for a loooong time
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/26/2002 10:11:38 PM:Ty Joyce AkA Exempt
Works on Angelfire!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
11/1/2002 6:38:33 AM:JuiCe.
You normally don't need something this bulky to get rid of ads. Most hosts place their code at the end of the document or after the body tag. If they place it after the body tag, simply use: <noscript><body></body></noscrip t> For the end of the document, use <noscript>. Of course some hosts counter these efforts by ending these tags before they start their code, but there are always ways around it. Let me know if you need help with a particular host. I can remove the banners from any host.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
11/1/2002 12:42:38 PM:
Craaapiest code I see for a long time... Free hosting webmasters are not as drunk as you think... any way, who the hell uses free providers??? Free hosting is a joke... very poor uptime, poor database support, ridiculous download and hits limits... Just buy your own server! If you dont have the money, go work or something...
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
11/1/2002 12:55:06 PM:
What if you add an add to your own ad script on your webpages and want to remove it?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
11/1/2002 5:43:42 PM:
This is a great code, and there is no need for anyone to b*tch about that it doesn't work. 5 globes from me.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/17/2003 3:54:01 AM:
You can also use <comment> as the last line of you code. Any code attached by any servers wont get executed.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/17/2003 9:28:31 AM:
Where is the Source Code ? In the Html file , it says <!--I WILL PUT THE BUGs HERE NOW! YOU CAN COPY IT TO YOUR PAGE--> but I do not see the code , please send it to me . Thank You
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/17/2003 2:13:35 PM:vivalite
The code is the 10 line between "<!--I WILL PUT THE BUGs HERE NOW! YOU CAN COPY IT TO YOUR PAGE-->" and "<!--FINISH!!! NO CODE CAN BE EXECUTE BELOW-->"
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this article has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular article, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | Java/ Javascript Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.