Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback: irt.org FAQ Knowledge Base Q452

Feedback on: irt.org FAQ Knowledge Base Q452

Sent by Yves Debilloëz on June 13, 2000 at 11:24:29: - feedback #1364

Technical:
Not technical enough

Comments:
If you sign your javascript, and the user has trusted the signer, it is possible to close the window without noticification.


Sent by charles on September 28, 2000 at 04:58:11: - feedback #1802

Technical:
Not technical enough

Comments:
i just want to know
how if i open a new window and i want to close parent window without confirmation.
and i think that script like location.href maybe you can give me the answer
thanks


Sent by Ken on March 18, 2001 at 02:07:04: - feedback #2502

Worth:
Very worth reading

Comments:
Informative, but this doesn't work. Opening a window and then trying to close the opener returns a msg
"Close Window yes/no" still.


Sent by John Dodrill on November 15, 2002 at 02:54:22: - feedback #4276

Length:
Just right

Comments:
I'm a Javascript Newbie so excuse me if I'm wrong:

I've found if I open a window from another window using:

window.open("http://www.mysite.com/mypage.htm");

then I can also close it from within the javascript on that window, without confirmation, using:

window.top.close();

example:

On right click on my page http://john.dodrill.name I initially transfer control to a page I open, then change the url of the page I was in to whatever. Then if the user right clicks in the new window I've opened with my content, it closes without asking.

Good Luck!



©2018 Martin Webb