Marcia Gulesian wrote:
[color=blue]
> The following code works in I.E. (PC) but not Safari (Mac)
>
> window.opener=s elf;
> window.close();
>
> What code will close the page when it runs in Safari?[/color]
Hopefully none. What you have used looks like an attempt
to use a security bug in some browsers that allows to close
the current window even if not openened with client-side
scripting.
PointedEars
--
"The Ten Commandments contain 297 words. The Bill of Rights is stated
in 463 words. Lincoln's Gettysburg Address contains 266 words.
A recent federal directive to regulate the price of cabbage contains
26,911 words." -- Atlanta Journal
Marcia Gulesian wrote:
[color=blue]
> The following code works in I.E. (PC) but not Safari (Mac)
>
> window.opener=s elf;
> window.close();
>
> What code will close the page when it runs in Safari?[/color]
Hopefully none. What you have used looks like an attempt to exploit a
security bug in some browsers that allows to close the current window
even if not opened with client-side scripting.
PointedEars
--
"The Ten Commandments contain 297 words. The Bill of Rights is stated
in 463 words. Lincoln's Gettysburg Address contains 266 words.
A recent federal directive to regulate the price of cabbage contains
26,911 words." -- Atlanta Journal
Marcia Gulesian wrote:
[color=blue]
>
> The following code works in I.E. (PC) but not Safari (Mac)
>
> window.opener=s elf;
> window.close();
>
> What code will close the page when it runs in Safari?
>[/color]
"Command + Q" works quite well....
Mick
Comment