[Javascript] Closing browser window without user confirmation

Reuben D Budiardja reubendb at goshen.edu
Mon Aug 13 08:39:53 CDT 2001


On Sunday 12 August 2001 09:16 am, you wrote:
> >the browser will not ask for confirmation if the window is without menubar
> >and locationbar.
>
> That is true, but not complete. The browser will not ask for confirmation
> if the window has been opened by a script. The opening script may (but
> needs not) specify that the menubar and the location bar will not be shown.
> Even if the script specifies they should be visible, the window can be
> closed without confirmation because it has been opened by JavaScript.
>
> ppk

Okay. thanks for all responds. Now that I know it can't be done, I'll try to 
figure something out. Probably redirect the page to another page or something.

Thanks again.
Reuben D. Budiardja



More information about the Javascript mailing list