#.Prevent Chrome from Accidentally closing using a Website.

Probably the easiest way to prevent Chrome from closing accidentally is to keep a warning website open along with your other tabs. As soon as you tap the close button, Chrome will pop a warning window about terminating the browser, you can either continue or stay by clicking the respective options.

#.Disable the close button temporarily on Windows.

By following a couple of steps, you can as per your demands disable the close button of any application on Windows. To do so,

#. Make use of Chrome’s own “Continue where you left off” setting.

Google offers a useful setting in Chrome itself that reopens all the tabs you had while you terminated the browser. To activate it, head over to Settings and click the “Continue where you left off” radio button. Now every time, you restart Chrome, you’ll have all the last session’s tabs load up automatically. Though, we won’t recommend this if you’ve a slow system or connection.

#. Insert a custom JavaScript code to get a warning from individual tabs on Chrome.

If you want a warning from each individual tab, a JavaScript code will need to be implemented on your browser. Don’t worry, it’s not that intimidating. First of all, download this free extension. Next up, hit that new icon on the top right corner and now fill the fields as shown below.

Hit “Save” and you’re done! Now, you’ll get a confirmation message from each tab when you click the close button. However, this can be frustrating if you’ve a lot of tabs open. So, those were some of the ways you can make use of to prevent Chrome from closing accidentally, hope it helped. Let us know if we missed something or you’re stuck somewhere in the comments section down below. Also see: Best of Chrome’s new tab extensions

4 Handy Ways to Prevent Google Chrome From Closing Accidently - 204 Handy Ways to Prevent Google Chrome From Closing Accidently - 724 Handy Ways to Prevent Google Chrome From Closing Accidently - 664 Handy Ways to Prevent Google Chrome From Closing Accidently - 974 Handy Ways to Prevent Google Chrome From Closing Accidently - 564 Handy Ways to Prevent Google Chrome From Closing Accidently - 3