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

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

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

c# - DataTable to EnumerableRowCollection -