How to window.close() and prevent the confirm that comes up?
Not sure where to put this but the general section should be okay.
say you have a link like
when you click on it, the browser asks you if you want to let script allow the window to close.
Is there a way to prevent the confirm box from comming up, and just close it.
If there is a solution, is it the same for a parent window and for a child window (one that the parent creates)?