Browsers do not allow JS to close a window that has not been opened by the script in the first place. Is there any way round this problem? Here is what I need to do
To enable local debugging of an application developed in a custom IDE (our own, 32bit windows) and running in a web browser I am starting the process by simply using ShellExecute from within the IDE to open up an HTML file in the user’s default browser and then using JS from within that file to run against a dedicated server in the IDE. Once the testing has been done I would like to close down the browser window/tab opened for the purpose. But since I start the process by opening an HTML file using ShellExecute, not JS, I am then not allowed to close it using JS!