[Solved] Stop Firefox Asking To Save Tabs
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
[Solved] Stop Firefox Asking To Save Tabs
Since upgrading to Firefox 15, it insists on asking me if I want to save my open tabs when shutting down. I do not. I mark the check-box to not ask again, and close Firefox. Next time it asks again. I have checked the config file. The option is set to false. I have tried deleting the ~firefox folder. No change. Anyone? Thanks.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Stop Firefox Asking To Save Tabs
I had the same issue (annoying ) and found the solution to be the following. Go to the address about:config (type that in the address bar), accept the warning given, then in the Search field search for:
Then set browser.tabs.warnOnClose and browser.warnOnQuit both to false (double-click them to change their value). That should solve it.
Code: Select all
browser.*warnon
Re: Stop Firefox Asking To Save Tabs
Perfect. Thank you!xenopeek wrote:I had the same issue (annoying ) and found the solution to be the following. Go to the address about:config (type that in the address bar), accept the warning given, then in the Search field search for:Then set browser.tabs.warnOnClose and browser.warnOnQuit both to false (double-click them to change their value). That should solve it.Code: Select all
browser.*warnon
-
- Level 3
- Posts: 103
- Joined: Sat Mar 12, 2011 11:14 am
Re: [Solved] Stop Firefox Asking To Save Tabs
+1 thanks. Was really annoying & changing the single setting to false (the answer you see everywhere) wasn't working.
Stop Firefox Asking Firefox To Save Tabs - Mint 15
This seems to be a continual issue with each version of Mint, including my adored-favorite-OS-on-the-planet, Mint 15, and it is related to the following. Included is a fix:
The issue is that LinuxMint has created a "/usr/lib/firefox/browser/defaults/preferences/vendor-firefox.js" file, and no matter what the user selects in his own session, the defaults are returned to the next browser session, if they exist in that file. The simplest solution is to rename the file or remove it (I suggest the former, for safety):
sudo ren /usr/lib/firefox/browser/defaults/preferences/vendor-firefox.js vendor-firefox.js.disabled
This will do the trick. It is also a fix for the default search engine returning each new session. I'd rather use Google, myself. If you a comfortable with light coding, you can comment out the code that sets the preferences in the vendor-firefox file, too. Examples are given in the file.
It is important to note that future updates, send by LinuxMint for firefox, may replace the file, and the new file may need then be removed or renamed, etc. According to the notes in the file, Mozilla says that placing the vendor-firefox.js file into "/etc/firefox/pref" and changing settings within that file to your liking, will preserve the changes and prevent overwriting during an update. I haven't tried it, but changing the line:
Old:
user_pref("browser.showQuitWarning", true);
New:
user_pref("browser.showQuitWarning", false);
Should work as well.
I sure hope this helps.
The issue is that LinuxMint has created a "/usr/lib/firefox/browser/defaults/preferences/vendor-firefox.js" file, and no matter what the user selects in his own session, the defaults are returned to the next browser session, if they exist in that file. The simplest solution is to rename the file or remove it (I suggest the former, for safety):
sudo ren /usr/lib/firefox/browser/defaults/preferences/vendor-firefox.js vendor-firefox.js.disabled
This will do the trick. It is also a fix for the default search engine returning each new session. I'd rather use Google, myself. If you a comfortable with light coding, you can comment out the code that sets the preferences in the vendor-firefox file, too. Examples are given in the file.
It is important to note that future updates, send by LinuxMint for firefox, may replace the file, and the new file may need then be removed or renamed, etc. According to the notes in the file, Mozilla says that placing the vendor-firefox.js file into "/etc/firefox/pref" and changing settings within that file to your liking, will preserve the changes and prevent overwriting during an update. I haven't tried it, but changing the line:
Old:
user_pref("browser.showQuitWarning", true);
New:
user_pref("browser.showQuitWarning", false);
Should work as well.
I sure hope this helps.