Restore Last Session - But not if I close last tab
I searched this forum but couldn't find an answer. I have "restore last session" turned on, but I'd like Firefox wouldn't reopen my last visited site after I close the browser by closing the last tab. In other words: if I close the browser by a regular means (by clicking the rightmost upper X, or by right-clicking the taskbar and choosing close window) it goes to the last viewed site when I reopen the browser – and that's ok – but when I close the last tab and the browser closes, I don't want to see this site again when I reopen Firefox. Is there a way to achieve this? By the way, this is the standard behavior in Google Chrome.
Modified by ravipegolo
All Replies (1)
I think your search results (or lack thereof) are correct: I cannot think of a session restore setting that distinguishes between closing a window by using one X button versus the other X button.
Perhaps there should be a new preference (doesn't currently exist) like:
browser.sessionstore.restore_single_tab_window => true by default
During session restore, if Firefox sees that the only window open at shutdown had a single tab, and this preference is set to false, then Firefox would open a new tab and treat that last open tab as a closed tab (the user could restore it from the menu if desired).
Or something like that.
You have many choices to submit feature suggestions, depending on your desired style of interaction:
- Mozilla Discourse: https://discourse.mozilla.org/
If none of the categories seem to fit, try https://discourse.mozilla.org/c/firefox-development
- Reddit (monitored by Mozilla): https://www.reddit.com/r/firefox/
- I saw someone created a Change.org petition but I don't know who sees those
Limited Length Comments
- Feedback site: https://qsurvey.mozilla.com/s3/FirefoxInput/
- Twitter (Mozilla official): https://twitter.com/firefox
Bug Tracking System