Om de ûnderfining foar jo te ferbetterjen is tydlik de funksjonaliteit dan dizze website troch ûnderhâldswurk beheind. Wannear in artikel jo probleem net oplost en jo in fraach stelle wolle, kin ús stipemienskip jo helpe yn @FirefoxSupport op Twitter en /r/firefox op Reddit.

Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Mear ynfo

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

Firefox shows windows from last time, how to clear last open tab?

  • 4 antwurd
  • 4 hawwe dit probleem
  • 1 werjefte
  • Lêste antwurd fan The_Analyst

more options

I have Firefox set to restore my previous session when starting. The last tab open doesn't have an 'x' to close it. When pressing ctrl+w it will close the window in such a way that next time I open firefox it'll restore the previous tab.

Is there a way to make it close the last tab then exit when ctrl+w is pressed? This so that I can have a fresh session by clearing the last one on exit.

I have Firefox set to restore my previous session when starting. The last tab open doesn't have an 'x' to close it. When pressing ctrl+w it will close the window in such a way that next time I open firefox it'll restore the previous tab. Is there a way to make it close the last tab then exit when ctrl+w is pressed? This so that I can have a fresh session by clearing the last one on exit.

Keazen oplossing

Set the browser.tabs.closeWindowWithLastTab pref to false on the about:config page to prevent closing the last tab from closing that window and make a close button appear if only one tab is open.

Dit antwurd yn kontekst lêze 👍 2

Alle antwurden (4)

more options

Try doing this:

  1. Goto Tools>>Options and open the General Tab.
  2. Look beneath the Startup Section and check the "When Firefox Starts:" Field. If it is "Show My Windows and Tabs from Last Time", change it to "Show my Homepage" to display your home page or "Show a Blank Page" to display a blank page.

That should sort out your problem. If it doesn't let us know and we'll see what else can be done.

Cheers!

more options

If you want to keep "session restore" as your default, instead of closing the last tab, how about going to your home page in that tab, or a blank page (you can bookmark about:blank to make it faster to load)? Then when you close it, that will be the page that reopens.

more options

Keazen oplossing

Set the browser.tabs.closeWindowWithLastTab pref to false on the about:config page to prevent closing the last tab from closing that window and make a close button appear if only one tab is open.

more options

I think cor-el's solution is the best compromise. It would be nice if it closed the last tab and the window without reopening the same tab every time. I prefer it to remember what tabs I had open if I had more than one open at a time.

The current behaviour when using using remember tabs and windows from last time seems strange from a user's point of view to me.