Welcome to WebmasterWorld Guest from 54.145.65.62

Forum Moderators: open

Message Too Old, No Replies

Javascript pop up remover/closer

Way to stop Gator from taking traffic

     
6:25 am on Jan 26, 2003 (gmt 0)

New User

10+ Year Member

joined:Aug 20, 2002
posts:10
votes: 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.
6:49 am on Jan 26, 2003 (gmt 0)

Senior Member

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

joined:May 26, 2000
posts:37301
votes: 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?