[Javascript] How to turn off confirmation while my Javascript code is trying to close a browser window

Cutter Bl cutterbl at hotmail.com
Thu Jul 12 07:19:03 CDT 2001


Shubhrajit,
     Unless your browser window was opened by script it will always ask your 
user to confirm. It is a security feature of the browser. Some have said you 
can get around this with a signed script, which you may find more info on at 
Netscapes Javascript website (don't know the URL off hand).

Cutter
*****************************************************
From: "shubhrajit_c" <shubhrajit_c at mailmetoday.com>
Reply-To: javascript at LaTech.edu
To: <javascript at LaTech.edu>
Subject: [Javascript] How to turn off confirmation while my Javascript code 
is trying to close a browser window
Date: Thu, 12 Jul 2001 10:23:31 +0530

Hi all,
I have an HTML page in which the Javascript code tries to close the browser 
window on clicking a button. However , some browsers are asking for a 
confirmation from the user before closing the window.Why does this happen 
and how to prevent this?


yours sincerely,
Shubhrajit



Get Your Private, Free E-mail from Mailmetoday.com at 
http://www.mailmetoday.com


_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
http://www.LaTech.edu/mailman/listinfo/javascript

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com





More information about the Javascript mailing list