window.close

E

Evertjan.

Alan wrote on 06 feb 2005 in microsoft.public.inetserver.asp.general:
When using "window.close", a dialog box ask u to comfirm, how to disable
it ?

Not with serverside scripting.

You are off topic on this ASP NG.
 
B

Ben Strackany

You could maybe prevent it by opening the window via window.open()
javascript.
 
R

Roji. P. Thomas

OK here you go. You can STILL fool IE with the following script.

<SCRIPT LANGUAGE=javascript>
<!--
//Close main window without confirmation.
daddy = window.parent.self;
daddy.opener = window.parent.self;
daddy.close();
//-->
</SCRIPT>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top