![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
do not close new tab when unused
Actually not a FF problem, but really an extension problem. (Though some of the sentiment expressed still applies.)
Firefox has this "new" "intelligence" which is nothing but annoying...it closes an unused new tab. I would like to switch off this and any other remote/built-in "intelligence" and have full manual control, especially how my tabs work, just like in the old firefox when TMP was still fully usable... Where in the settings can this nonsense behavior be switched off or is it at least in the about:config? All this arrogance of telling the user "how things should be" is most annoying. But reason cannot be expected to come back to the "mozilla foundation" (ever since you got funded you are void of reality) after the addon/extension apocalypse...ever. You should scrap it all, go back to FF21 (the fastest ever browser) and start from scratch, keeping the learned lessons firmly in mind. You will die if you do not get real. But back to the question... Where in the settings can this nonsense behavior be switched off or is it at least in the about:config? Thank you, still have hope for what was once the beloved browser.
由 spdgnzls 於
所有回覆 (9)
I can't say that I've ever had Firefox automatically close a tab that it considers to be "unused". In fact, I can fairly confidently say that it's not a Firefox feature at all.
What I believe you may be referring to is Firefox's ability to unload tabs if it's running low on memory. This is designed to be a performance enhancement, since there's no point in keeping tabs that haven't been accessed in a while open and eating up your computer's resources. The feature is only supposed to trigger when your computer is low on memory, in which case you don't really have a lot to spare.
Fortunately, there appears to be a way to disable this feature. Simply do the following:
- Type
about:config
in your Firefox address bar to open the Configuration Editor. - Bypass the warning (we'll be careful, I promise).
- Find the
browser.tabs.unloadOnLowMemory
preference. - Double click it to change the value to
false
. - Restart Firefox.
Hope this helps.
Start Firefox in Safe Mode to check if one of the extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) or if hardware acceleration is is causing the problem.
- switch to the DEFAULT theme: "3-bar" menu button or Tools -> Add-ons -> Themes
- do NOT click the "Refresh Firefox" button on the Safe Mode start window
What happens is, that when I open a new tab, then go to another one with a page loaded, the new one closes automatically without having been used at all. Sometimes I just want to have a new tab in between others, or want to go back and get a link, but this is not possible anymore (as it was in the good old firefox). How can this be fixed?
Does this happen in the Safe Mode?
Found it, hint to try without extensions was right.
Shame on me to assume it was FF problem, it is not, it is an extension which causes it, I should / could have known, as it says in the description of the extension. https://addons.mozilla.org/en-US/firefox/addon/dont-close-last-tab/ How could only the new tab auto close be disabled?
I don't understand that description but since you have used the extension, it probably all makes sense to you. The author has an email link down the left side of the page, so you could try to get support information or request some options. If that doesn't lead anywhere, you could consider alternative extensions that do what you need with fewer side effects.
Zero response from the author so far... Have not found any extensions that would avoid duplicate tabs, but not close new ones, do you any suggestions? Also, how can one avoid pre-loading/pre-fetching, since it seems to download a lot in the background, even though the many tabs are not being used/displayed? (There was once an extension that avoided that well: bartab).
One option is to find another extension or rewrite this one. Another is to "hack" it after you load it, using the Debug feature. I'll describe that, but since it's several steps, it would only make sense if you tend to keep Firefox open for long stretches of time (e.g., at least the whole day).
The extension has an internal list of pages that it closes:
let newTabs = new Set(["about:blank", "about:home", "about:newtab", "about:privatebrowsing"]);
You can use extension debugging to clear out the list and then the extension won't close anything.
Developer Tools Setup
To use the extension debugging feature, you first need to enable some settings checkboxes. This is a one-time process.
(1) Open the Developer Tools panel, e.g., Ctrl+Shift+i
(2) Open the Settings panel -- use the ••• menu at the upper right of the Dev Tools panel and click Settings (attached screenshot #1)
(3) Scroll to the bottom right and enable the last two checkboxes (attached screenshot #2)
Debug the Extension
(1) Type or paste about:debugging in the address bar and press Enter to load a page listing all your currently enabled extensions
(2) Click the Debug link for Don't Close Last Tab (attached screenshot #3) to open a separate window
(3) In the debugging window, switch to the Console and type or paste the following and then press Enter to run it (attached screenshot #4):
newTabs = [];
You're done. You now should be able to open as many new tabs as you like (attached screenshot #5). However, this is only good for the duration of the current session, or until you disable/enable the extension again.