warning message when using window.close in javascript
When you want to close browser itself by javaScript, which is not opened by another browser window, you will be getting a warning message if you are on IE.
window.close();
However, if you do this window.opener = “whatever”; before calling window.close(), you won’t get a warning message.
That’s today’s tip!





