[Javascript] window confirmation

BEKIM BACAJ trojani2000 at hotmail.com
Mon Mar 31 07:59:50 CST 2003


There, is no way to close the parent window on IE 3 nore in later versions. 
Nobody will salute the script nor the web page that will close your brwsr 
window without your permission. Practically, there is no such case when one 
will need to close the parent window. You can close child window,without 
prompt because you've created it, but not the one you didn't. If you like to 
close the child window, but as you do that, you no longer wish your parent 
page to be wisible, you can navigate with history back.

Sure there is one alternative way to close the parent even inside the 
parent, only if you change the extnsn., from *.htm  to *.hta. But this way 
the user will get before load prompt with a 'heavy' securety warning, which 
will probably scare the client away.
Cheers!





>From: "andy susanto" <andy78 at centrin.net.id>
>Reply-To: "[JavaScript List]" <javascript at LaTech.edu>
>To: <javascript at LaTech.edu>
>Subject: [Javascript] window confirmation
>Date: Sun, 30 Mar 2003 22:40:12 +0700
>
>Hai,
>
>when i try to close parent window (default IE)  i get window confirmation.
>How to close window parent without get window confirmation ?
>
>ps : IE 6
>
>
>_______________________________________________
>Javascript mailing list
>Javascript at LaTech.edu
>https://lists.LaTech.edu/mailman/listinfo/javascript


_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail



More information about the Javascript mailing list