Re: help me to close my browser window

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 UTC