This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

prevent Firefox from closing?

  • 3 ردود
  • 1 has this problem
  • 1 view
  • آخر ردّ كتبه user700204

more options

OK, it's one thing to have protected tabs on Firefox. It's another thing to protect the whole program. When I'm at a site, and I DO NOT WANT to accidentally exit, it's just too easy on a Mac to hit that little red dot at upper left, and BOOM, you're gone. Same with that little "x" in a red box at upper right in Windows.

On Chrome, there is a slick routine -- https://www.maki-chan.de/preventclose.htm. When you open a tab at that website, and click somewhere on the website, it prevents Chrome from closing. If you try to kill the program, it'll pop up an "are you sure?" message.

Wish there was something like this for Firefox that prevents accidental closure. Is there?

OK, it's one thing to have protected tabs on Firefox. It's another thing to protect the whole program. When I'm at a site, and I DO NOT WANT to accidentally exit, it's just too easy on a Mac to hit that little red dot at upper left, and BOOM, you're gone. Same with that little "x" in a red box at upper right in Windows. On Chrome, there is a slick routine -- https://www.maki-chan.de/preventclose.htm. When you open a tab at that website, and click somewhere on the website, it prevents Chrome from closing. If you try to kill the program, it'll pop up an "are you sure?" message. Wish there was something like this for Firefox that prevents accidental closure. Is there?

الحل المُختار

OK, I think the trick is to have enabled the warning on closing multiple tabs, which is the default. Then just have two or more tabs. If you try to kill the program then, it will warn you.

BUT, if you just have one tab, it will NOT warn you when you try to kill the program. That's a bit daffy. Two or more tabs are important. One tab is not.

Read this answer in context 👍 0

All Replies (3)

more options

There is unless you unchecked that option to notify you.

more options

WestEnd said

There is unless you unchecked that option to notify you.

Never heard of that option. Where do I find it?

more options

الحل المُختار

OK, I think the trick is to have enabled the warning on closing multiple tabs, which is the default. Then just have two or more tabs. If you try to kill the program then, it will warn you.

BUT, if you just have one tab, it will NOT warn you when you try to kill the program. That's a bit daffy. Two or more tabs are important. One tab is not.