Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Old tab still reopen after closing all tabs

  • 2 réponses
  • 4 ont ce problème
  • 4 vues
  • Dernière réponse par Cardin

more options

When I close all the tabs in Firefox, Firefox exits. This is expected.

What is not expected, is when I launch Firefox again, my most recently closed Tab is still there! How do I avoid my most recently closed Tab from appearing! I have closed it, therefore it shouldn't appear.

I have set Firefox to "Show Your Windows and Tabs from Last Time", but this is not the behaviour I would expect. It should only show me Tabs that were still open when I last closed Firefox.

When I close all the tabs in Firefox, Firefox exits. This is expected. What is not expected, is when I launch Firefox again, my most recently closed Tab is still there! How do I avoid my most recently closed Tab from appearing! I have closed it, therefore it shouldn't appear. I have set Firefox to "Show Your Windows and Tabs from Last Time", but this is not the behaviour I would expect. It should only show me Tabs that were still open when I last closed Firefox.

Solution choisie

To get your desired behavior you can try a workaround:

  1. Type in about:config in the address bar and press enter.
  2. Bypass the warning (if shown).
  3. Find the entry "browser.tabs.closeWindowWithLastTab" using the search box and set its value to false.

What it does is, it prevents the window from closing with the last tab. You'll have to close the window separately (one extra click). But there won't be any tab left to remember for the next browser launch.

Lire cette réponse dans son contexte 👍 2

Toutes les réponses (2)

more options

Solution choisie

To get your desired behavior you can try a workaround:

  1. Type in about:config in the address bar and press enter.
  2. Bypass the warning (if shown).
  3. Find the entry "browser.tabs.closeWindowWithLastTab" using the search box and set its value to false.

What it does is, it prevents the window from closing with the last tab. You'll have to close the window separately (one extra click). But there won't be any tab left to remember for the next browser launch.

more options

Awesome!

Regarding the additional click to close tab - it's okay, I use keyboard shortcuts, so it's still pretty speedy.

I do hope Firefox improves this behaviour someday though.