![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
"Warn me when closing multiple tabs" doesn't work
Under Tools > Options > Tabs, "Warn me when closing multiple tabs" is selected. Also, in about:config, browser.tabs.warnOnClose is set to "true". I always have multiple tabs open. However, sometimes my hand slips or the mouse falls off the table and Firefox closes without any warning.
Solution choisie
The original problem was getting Firefox not to close when the X was accidentally clicked. The Fast Close Tabs addon is a work-around, but it's pretty much solved the problem: https://addons.mozilla.org/en-US/firefox/addon/fast-close-tabs/
This addon changes the function of the X to close a single tab rather than the entire window. Mind you, it would still be nice if core Firefox actually did what the options said it did, or at least if the options were reworded to reflect what they actually do. But the Fast Close Tabs addon is a good enough alternative.
Lire cette réponse dans son contexte 👍 1Toutes les réponses (13)
You can try to keep another window open like the Bookmarks Manager (Library) or Download Manager.
In Firefox 3 you do not get the 'Save & Quit' pop-up dialog if you choose Tools > Options > General > Startup: "When Firefox Starts": "Show my windows and tabs from last time".
However session restore works more reliable if that setting (Tools > Options > General > Startup: "When Firefox Starts": "Show my windows and tabs from last time") is selected.
The problem is that I always have 20+ tabs open, and quite frequently have 50+ tabs open when I'm working. When Firefox closes, I first must wait for it to close completely after the window is gone (or I get the message saying that Firefox is already running), then load it again and wait for all my tabs to reload, which can take some time and is annoying.
I have selected "Show my windows and tabs from last time" since I've already seen that system restore is not entirely reliable without it.
Is there a way to ask confirmation when closing, so that Firefox does not close accidentally, yet still reliably restore my open tabs after I have purposefully closed and reopened Firefox?
Which keys do you press by accident to close Firefox? It is possible to disable shortcut keys (except Alt+F3) that close Firefox with an extension like Keyconfig.
On Linux there is Ctrl+Q to close the browser. So if you want to press Ctrl+W to close a tab and instead press Ctrl+Q then you close the browser.
I'm running Windows 7 on a laptop with an external mouse (I strongly dislike trackpads). If the external mouse slides off my desk, or if I'm not careful while moving the laptop, the mouse pointer tends to slide to the upper right corner, where a small bump counts as a click and closes Firefox. I only rarely use keyboard shortcuts, so I don't think I've accidentally closed Firefox that way.
That close X will close the window. To prevent closing the browser you could open an extra window like I wrote above, but that will still require to restore that closed window. If it really only happens when you move the mouse to the top right then you can make the window slightly smaller just enough to prevent clicking that close button or you can work full screen without a title bar.
See also Autohide: http://www.krickelkrackel.de/autohide/
- https://www.krickelkrackel.de/autohide/autohidehelp.htm (Zombie mode)
Yeah, the real problem is the time it takes to reload the tabs I have open. So keeping open another window doesn't do very much. I was really hoping for a way to get the "Warn me when closing multiple tabs" option to do what it says on the tin, but if that's not possible, I guess I'll just live with it.
'THIS WORKS !!!' I am a doctor.But here is my help:
Please got to this link & read my answer again: with inputs from helper 1677
https://support.mozilla.com/en-US/questions/801965#answer-176156
helper 1677, b`cos I had done what he had said even before seeing his input:so, i do no know if my suggestion alone worked OR all did.but the problem is solved. On the Mozilla home page http://www.mozilla.org/ type this:about:config And enter despite a warning box"I`ll be careful,I promise":-) Just tick it & enter.
Change the column: "browser startup page" -userset integer- from 3 to 4 by double-clicking on that link & changing 3 to 4 !
browser.startup.page;4
This idea I got from this link below.
Reply if it works by signing in;as others will be helped !
THIS WORKS !!!
Sol 1) Go to options-->Tabs: check option "Warn me when closing multiple tabs" Sol 2) When we select option "Never remember history" or "Use custom setting for history" in Privacy tab then Firefox dont warn when closing multile tabs. If you want Firefox to pop up a box warning that you are closing multiple tabs and also not to remember history,password,etc. then do as suggested in below picture(Click to maximize it), it work definately. Thanks.
Modifié le
The problem with Rahul_D's response is that the original problem has nothing to do with browser history. The problem is that since Firefox 3 (so for the last 7 major versions now), the option "Warn me when closing multiple tabs" simply has not done what it claims to do. It's a fundamental programming error that we're supposed to believe is a feature because Mozilla's programmers are too incompetent to have an option actually do what it says it will do.
The problem with dr.ilangho's response is that browser.startup.page must be set to 3 in order to reload your tabs from the previous session when you start a new session. The original problem was that it was inconvenient to have to reload all my pages after closing. Changing the browser.startup.page value to anything but 3 means those pages won't reload at all, and any work on them is lost completely. That's hardly an improvement.
See:
- Load Tabs Progressively: https://addons.mozilla.org/firefox/addon/load-tabs-progressively/
I had this problem too a few monthes ago, sorry don't remember how I solved the problem...
BUT a general TIP is that you sometimes should fully reinstall Firefox from the scratch.
I mean save your bookmarks (json), have a list of your add-ons, preferably with their url too, and one for your plugins too, everything safe in a folder in your documents...
And only then "shoot away" Firefox from your computer, profile included... make a full cleaning of everything belonging to Firefox. (with Glary utilitises, CC cleaner or any soft alike)
Reinstall everything with the latest Firefox.exe !
This especially if you're used to ( as I am) try new adds, make changes in about:config... and so on.
I guess it comes because with the "normal way of updating", which I suppose is the case for most people, just to download the updates, Firefox, after a few monthes, starts to mess a little things around.
And even "Speedyfox" nor defragmentation can't help that much...
Personnaly, I don't like so much to do it, but like that, usually my Firefox works fast and well.
Another solution is to use "FEBE" add-on...
I wish this "general tip" will help some of you, or at least give some indications, on how you want to solve some Firefox problems :-)
Note : depending on how many add-ons you have, this may take ~30minutes up to 3 hours (:-(), if you have never saved anything before (list from your adds).
PS Me ? I save everything quiet often, because I once lost, years ago, everything concerning Firefox because I did a main mistake (lost all my bookmarks)... and told myself : Not Twice... :-)
Happy Christmas ! :-)
Solution choisie
The original problem was getting Firefox not to close when the X was accidentally clicked. The Fast Close Tabs addon is a work-around, but it's pretty much solved the problem: https://addons.mozilla.org/en-US/firefox/addon/fast-close-tabs/
This addon changes the function of the X to close a single tab rather than the entire window. Mind you, it would still be nice if core Firefox actually did what the options said it did, or at least if the options were reworded to reflect what they actually do. But the Fast Close Tabs addon is a good enough alternative.
I just started having this problem last night. I have the "Automatically Restore Previous Session" option enabled, but it still used to warn me before. It's not a big deal or anything, it's merely unsettling why the change has occurred and I don't know why. I hate the unknown! Haha.