[REBOL] Re: close a internet explorer window with a button in an Internet explorer plugin...
From: pwawood::mango::net::my at: 17-Jun-2005 14:26
This exert from
reference/window.html#1201822 may help explain:
open method. If you attempt to close any other window, a confirm is
generated, which lets the user choose whether the window closes. This
is a security feature to prevent
mail bombs" containing self.close().
However, if the window has only one document (the current one) in its
session history, the close is allowed without any confirm. This is a
special case for one-off windows that need to open other windows and
then dispose of themselves."
Though when I tried the following simple test with Firefox, Safari and
Internet Exploiter under Mac OS X 10.2.8 :
<title>Shut the Browser Window</title>
This is some useless text
Safari and even IE happily shut the only window open, but Firefox