Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is there a java-script code that can remove pop up banner ads?

Status
Not open for further replies.

TimCritchfield

Technical User
Aug 27, 2001
19
US
I was wondering if there is a banner pop up script code in java that could remove banner pop ups that the free services do? Like remove tripod ads or annoying ads on my site thats like this:
 
well their are a few things you could do..you could just put a window.focus() in your code or you could look though the pop-up code and fine the window name, then you could just window.close() it -Greg :-Q

flaga.gif
 
Could you give me an example? I been working on websites for many years but I'm now learning to do my own java script or trying to.
 
ok if you go in and use the ur web space provider's advance html editor...then look for the pop up code (usually marked with comments)...right under the </script> of the pop-up code put <script language=&quot;javascript&quot;>window.focus()</script> -Greg :-Q

flaga.gif
 
If you are trying to get rid of your web hosts popups, you have to watch out, if you mess with them...they will clean off your site without notice.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top