homepage Welcome to WebmasterWorld Guest from 54.204.168.212
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
Javascript pop up remover/closer
Way to stop Gator from taking traffic
gregorio

10+ Year Member



 
Msg#: 267 posted 6:25 am on Jan 26, 2003 (gmt 0)

Hello,
Is there a javascript program that I can put onto my site so that it automatically closes pop-ups? This would be extremely helpful, and I just wanted to see if someone had already made one.

 

tedster

WebmasterWorld Senior Member tedster us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 267 posted 6:49 am on Jan 26, 2003 (gmt 0)

Javascript on a page can only close a window if javascript on that same page (or it's parent page) opened it. To allow anything more would open a really big security hole.

Is it your own pop-ups that you want to close?

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved