no this is just a simple javascript tag.
simply write
javascript:window.close()
and use as a link or as a button!
2007-09-10 02:26:24
·
answer #1
·
answered by Shariq M 5
·
1⤊
0⤋
window.close() works without giving a prompt if you open up a new window.
The current window(with your history/ and back button) won't close automatically so you won't lose the previous page you visited. So any window will close automatically without the prompt, if it's not the main window browser.
2007-09-10 03:44:16
·
answer #2
·
answered by Anonymous
·
0⤊
0⤋
If you open a window, then you may close it without the prompt.. but otherwise the browser will complain.. because you should not be closing, or trying to close a window that you did not open.
2007-09-10 03:00:30
·
answer #3
·
answered by billy d 3
·
0⤊
0⤋
You need to do a reformatting of your hard drive and re installation of Windows. This is usually accomplished by using a "Recovery Disc" or certain manufacturers provide a Recovery section on your hard drive. If so, you can access this capability by tapping key F8 during the initial stages of boot-up, and then select the Recovery option from the menu. Good luck.
2016-05-21 01:52:34
·
answer #4
·
answered by ? 3
·
0⤊
0⤋
The prompt is a security feature of the browser to prevent scripts from annoyingly closing the window. So no you can't and shouldn't get rid of it.
2007-09-10 02:42:02
·
answer #5
·
answered by bulboglia 2
·
0⤊
1⤋
As said above, the script window.close() will work, but ONLY if the opened window is NOT the INITIAL window (the first one you opened typing the URL).
So, ok for a pop-up or a link opening with "target=_blank".
ie:
the link
Then, in "somepage.htm", the script "window.close()" will work.
2007-09-10 21:42:22
·
answer #6
·
answered by just "JR" 7
·
0⤊
0⤋
window.close() will not work, it will still prompt you. You have to use window.opener=top;window.close();
If you're using Vista/IE7, it will still prompt though. This only works for non Vista/IE7 configurations.
2007-09-10 03:21:25
·
answer #7
·
answered by mwmiller78 3
·
0⤊
0⤋