Feedback on: irt.org FAQ Knowledge Base Q452
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.
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
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.
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!