Is it possible to automatically close a web browser window (e. g., in Google Chrome) when the user clicks outside the window? In order to do this, there would need to be some method for detecting whether or not the window was focused, and also a method for closing the window.
Share
Most current browsers only let you close the child windows of a parent.
You can’t close the master parent window through a script.