javascript - How can I close a browser window without receiving the "Do you want to close this window" prompt? -


how can close browser window without receiving do want close window prompt?

the prompt occurs when use window.close(); function.

window.open('', '_self', ''); window.close(); 

this works me.


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -