Velvet Star Monitor

Standout celebrity highlights with iconic style.

general

How do I start Firefox without restoring tabs?

Writer Sebastian Wright

I usually close Firefox with the command:

killall firefox

Many websites and tabs accumulate over time. At the end of the day, many remain unprocessed and should not be processed the next day either.

So I want to close Firefox and start it again as empty as possible, but Firefox restores all tabs.

How could I prevent this?

Update

Using firefox 99.0

3

3 Answers

Killall firefox will force firefox to restore its tabs, no matter what your settings are. Most convenient way is to open Settings->General and untick "Open previous windows and tabs":

If you want to prevent event the restore on a crash (which you are doing by "kill") you could setup in about:config

browser.sessionstore.resume_session_once True

In case it is not there, you could add it by entering it into about:config, select "boolean" ,then pressing the "+" button

2

The tab recovery data is stored in the sessionstore-backups directory under your profile directory (example ~/.mozilla/firefox/..XYZ..x.default-release/sessionstore-backups/ ) . If you delete (or move to a different location in case you change your mind or something breaks) all the files in this directory there will be nothing to restore. You can for example make a wrapper script to clean-invoke firefox that wipes this directory first.

3

Go to Settings > General > Startup and then uncheck the option "Open previous windows and tabs"

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy