You can't unless YOU (your javascript) opened the window or you're running
signed scripts (in a secure environment).

Think about it, you've been browsing along, lots of good stuff in you
browser history, then some dumb web page comes along and closes the window
and you loose it all.  I wouldn't be happy.

You also can't make a window always hidden or smaller than 100 x 100 for the
same reasons.

Don't ask me about how to create signed scripts because I've never had to do
it.

-----Original Message-----
From: Nicholas Larsson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 08, 2001 5:09 AM
To: [EMAIL PROTECTED]
Subject: Close browser window


This might be abit of topic.
How do I make a browser window close without receiving an
confirmation box.

Nico

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to