Replies Back to Article

Close Browser Window

Close Browser Window
February 10, 2003 by joe Cavallaro

Your script works great...I put a image in instead of text and it does what I was hoping but how can I get rid of the pop-up that asks if the person wants to close the window?

thanks

Joe

RE: Close Browser Window
February 11, 2003 by Nathan Pitman

Hi Joe.

 

Thanks for the positive feedback on my extension. Unfortunatley it's impossible to get rid of this popup as it is a browser security feature that stops malicious code from closing windows without the users permission.

If you have created a javascript window and you then apply the close window object to this you will not get the warning, becuase you created the window, and so you have permission to close it. :)

Hope that helps!

Nathan Pitman.

www.dovelop.com

RE: Close Browser Window
March 18, 2004 by michael bashista
Using DWMX and can't locate the Objects, Goodies panel referred to in the instructions so I can't find the behavior.
RE: RE: Close Browser Window
December 21, 2004 by Matt Larkins
Me either, where is it? !!!!
Close Browser Window
January 29, 2005 by Sebadfgstian Sulaaseinski
Hi , The extension works fine with IE but it doesn't with Mozilla - pity. Apart from this is ok. Thanks,
cant locate plugin
February 8, 2005 by Jeff Elder
macromedia extension found the plugin correctly and installed it, but i can't find it when i open dreamweaver. it says its under goodies in the object pallette but i can't find it anywhere. please tell me where it is. thanks
RE: cant locate plugin
August 16, 2005 by Tropic Dome

You'll find it under Insert >> Close Window     (at the bottom of the menu)

advanced layer popup not closing
February 25, 2010 by peter hart

this doesn't close the advanced layer popup

it just sits there.

when I call the page directly it closes

any views?