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)
Terms of Agreement:
By using this article, you agree to the following terms...
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.
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.
You may link to this article from another website, but ONLY if it is not wrapped in a frame.
You will abide by any additional copyright restrictions which the author may have placed in the article or article's description.
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:
Re-scan downloaded files using your personal virus checker before using it.
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...
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.
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.
You may link to this article from another website, but ONLY if it is not wrapped in a frame.
You will abide by any additional copyright restrictions which the author may have placed in the article or article's description.
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:
For the end of the document, use . 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. (If this comment was disrespectful, please report it.)
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... (If this comment was disrespectful, please report it.)
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? (If this comment was disrespectful, please report it.)
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. (If this comment was disrespectful, please report it.)
1/17/2003 3:54:01 AM:
You can also use as the last line of you code. Any code attached by any servers wont get executed. (If this comment was disrespectful, please report it.)
9/17/2003 9:28:31 AM:
Where is the Source Code ? In the Html file , it says but I do not see the code , please send it to me . Thank You (If this comment was disrespectful, please report it.)
The code is the 10 line between "" and "" (If this comment was disrespectful, please report it.)
12/18/2003 3:12:41 AM:
The code worked for about 2 weeks and then geocities picked up on it. I noticed that they put a code before the and at the end of the page after your code. Can I remedy that. Thank you (If this comment was disrespectful, please report it.)
12/18/2003 3:16:03 AM:
The bug worked for 2 weeks and geocities picked up on it. They write a code before the section and another one after the code. Can I remedy that. Thank you (If this comment was disrespectful, please report it.)
Add Your Feedback
Your feedback will be posted below and an email sent to
the author. Please remember that the author was kind enough to
share this with you, so any criticisms must be stated politely, or they
will be deleted. (For feedback not related to this particular article, please
click here instead.)