Close Window jQuery
How to Close the Current Window Using jQuery in Modern Browsers

Learn how to close the current browser window with jQuery using window.close(), including important browser restrictions and user event triggers.