Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Close window.. 1

Status
Not open for further replies.

soonkhoo

Programmer
Dec 8, 2000
133
MY
Hi, how can I close a browser(not window) without having confirmation message poped up?

I was done with

function closeup(timer){
timer = setTimeout("window.close();", 1000);
}
 
Simple answer: you can't... Browsers are built that way that in the end the user ALWAYS has control (or should have ;-) ) over what's happening. It's the same issue with ActiveX and Java Applets: unless the user says it's OK, nothing will happen.
Hope this helps...


<webguru>iqof188</webguru>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top