Below is some simple code on a page hosted by godaddy. This is a simple “starter page” at the end of which godaddy calls a script that forces their banner ad at the top of the page. I want to get rid of the banner ad and am wondering if there is some script I can write to basically prevent the godaddy script from running.
blah blah
This is probably a violation of your EULA, but here is what I would do:
Instead of stopping JS (which, as far as I know, you can’t do) I would just use Javascript to hide the ad.
(sorry about the line breaks, Yahoo cuts up the code)
Try this:
window.onload = function() {document.getElementById
(’conash3D0′).style.display = “none”}
That should work.
Menu Options Bar->Tools->Options->Content (mozilla)
not sure about ie
Edit:
Oh, never mind, this is to stop enabling javascript functionality. If its a ad from your hosting company you may not be able to get rid of it, but Im no expert.
The code above should fix your problem.
Yes, most browsers have a way of blocking JavaScript. Look up the help file of your browser to see how to do it.