jquery to close current tab code example Example: close browser tab using jquery window.top.close(); this will close the current tab for you.