Dont close browser when close last tab


First sorry for my English :slight_smile: I have question, maeby idea, Can you make that when i close last tab, don’t close browser ? I install many extension but, dont work correcly.

1 Like

Hi @ja74687

Currently brave doesn’t have that feature (nor does Chrome) BUT, I find a way around it :slight_smile:

Personally, I don’t like browsers that throw up a warning dialog box when you try to close them with multiple tabs open. But I recently discovered that a lot of people do like this functionality, especially when they have dozens of browser tabs loaded. Unfortunately for those users, Chrome doesn’t offer a warning box (even as an advanced option) on Windows.

If you want to see a warning before closing Chrome here’s a quick solution. Admittedly, it’s a bit of a hack, but it works.

Open the website Prevent Close by Germany-based developer Michael Armbruster. This website uses JavaScript to throw up a dialog box that asks you if you’re sure you want to leave that specific website.

The idea is to always leave that website tab open in Chrome. Then when you click the big red “X” to close the browser, this site throws up a dialog box asking if you’re sure you want to leave that page. If you click Stay the browser window will not close, if you click Leave Chrome shuts down.


This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.