Am I really not able to have an Exit button to close out of all browsers? I have tried window.close()
, self.close()
and many more ways found all over the internet. They only work in IE which seems to be disappearing since Edge mode is coming out... Firefox and chrome act like the code does not even exist when it runs. Has anyone came across another method of closing with an exit button?
I have an index page with an exit button that I would like to automatically close the browser if chosen. Since it is my index page I do not have a window.open() command so it looks like window.close() is not an option?
Any ideas or suggestions of how to make my exit button close out the webapp?
<input class="btn btn-default" type="button" name="Exit" value="EXIT">
I am just hoping this issue has been resolved since I cannot find it on the web but have seen posts since 2004...