Answers for "how-to-close-current-tab-in-a-browser-window"

8

javascript close current tab

window.close();//closes the current browser tab
Posted by: Guest on August-05-2019
0

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.
Posted by: Guest on December-24-2020

Code answers related to "how-to-close-current-tab-in-a-browser-window"

Code answers related to "Javascript"

Browse Popular Code Answers by Language