Can anyone come with advice on how to close a tab in javascript that works for all browsers? Certain code snippets work only for certain browsers - anyone have a kind of a universal way that will cover the major browsers?
In general, only browser windows created using JavaScript can be closed using JavaScript. Otherwise malware would be closing all of our browser windows on us.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With