How can I close a browser window without receiving the "Do you want to close this window" prompt?
browser, javascript
Solution
window.open('', '_self', ''); window.close();
This works for me.
Problem
How can I close a browser window without receiving the Do you want to close this window prompt? The prompt occurs when I use the `window.close();` function.