W3C home > Mailing lists > Public > www-html@w3.org > August 1998

Re: help me to close my browser window

From: Taco IJsselmuiden <taco@ch.twi.tudelft.nl>
Date: Fri, 28 Aug 1998 20:18:44 +0200 (CEST)
To: www-html@w3.org
cc: Balestra Paolo <p.balestra@ra.nettuno.it>
Message-ID: <Pine.LNX.3.96.980828201642.14507A-100000@ch.twi.tudelft.nl>
On Fri, 28 Aug 1998, Balestra Paolo wrote:
> >I have to close my browser active window by HTML code, but I don't know the
> >right method.
> 
> Well, I write a simple javascript code using window.close(), but now i have
> another problem:
> 
> window.close() ask me to confirmate the action by pressing a button. I
> don't want to press anything.
> What can I do?
From version 4 (IE & netscape) and higher: nothing.
Javascript just asks a confirmation (as a security) to close the main
window (I've experienced with it, so I know).

Taco IJsselmuiden.
                  \|||/
                 ( o o )
                  \ V /
---------oOOOo-----| |-----oOOOOo---------
           |     T//-\\co    |
           -------------------
Anyone who reads THIS twice is MAD !!
Voice: (+31) 070-4279822
E-Mail: taco@ch.twi.tudelft.nl
Homepage: http://ch.twi.tudelft.nl/~taco/
Received on Friday, 28 August 1998 14:18:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:37 GMT