How to close the browser tab on click + javascript code example
Example: how-to-close-current-tab-in-a-browser-window
Writing this on 24 Dec 2020. Tried almost all the things available on google, but none of them worked in Chrome browser. window.open('','_self').close() works for IE.