javascript close current tab

JavaScript
window.close();//closes the current browser tab
Source

Also in JavaScript: