Tip: Closing the window without a confirmation screen.

Sometimes we have to close the window after our screen logic has executed, so usually we’re writing window.close(); in our page BUT this causes this message to arise –


If you want to avoid this message, simply write:

window.opener = window;


Oren Ellenbogen