I'm trying to stop Firefox from restoring tabs after I restart my OS. So far, I've done the following:
Disabled `Startup > Open Previous Windows and Tabs`
Disabl… (আরও পড়ুন)
I'm trying to stop Firefox from restoring tabs after I restart my OS. So far, I've done the following:
- Disabled `Startup > Open Previous Windows and Tabs`
- Disabled all extensions
- Confirmed I do not have a `user.js` file
- Set `browser.sessionstore.resume_from_crash` to `false`
- Set `browser.sessionstore.restore_on_demand` to `false`
- Set `browser.sessionstore.resuming_after_os_restart` to `false` (It was already set this way.)
- Set `browser.sessionstore.max_resumed_crashes` to `0`
- Set `privacy.clearOnShutdown.openWindows` to `true`
- Set `browser.sessionstore.max_tabs_undo` to `0`
- Set `browser.sessionstore.max_windows_undo` to `0`
(I've since reverted the last two and the extension changes after they didn't work.)
So far, Firefox will not restore tabs on application restart (manually closing and relaunching) or on crashing (after sending SIGTERM/SIGKILL), but it still restores tabs after restarting the OS (if I allow the OS to kill it during shutdown). I've seen a couple suggestions to disable history completely, but I do occasionally refer to my browsing history, so I'd prefer a less-drastic approach. Ideally, I just want Firefox to treat the first launch after a shutdown as a normal launch and not apply any special behavior. Any help would be much appreciated!
System: Fedora 42 (Workstation Edition) Running Firefox 144.0.2 on Gnome 48.6-1.fc42