How to configure Close Tab warnings in Firefox

Firefox Firefox 最終更新日時: 51% のユーザーがこの記事が役立だったと投票しています
この記事はまだ翻訳されていません。すでに SUMO のローカライズ方法を知っている場合は、この記事を翻訳してください。SUMO の記事を翻訳する方法を学びたい場合は、記事翻訳の手引きをご覧ください

This article explains how to configure your tab settings so that Firefox warns you before you close a window or quitexit the browser when multiple tabs are open, in Firefox version 94 and above.

Close tab warnings

Firefox can be set to warn you when you’re about to close a window or quitexit Firefox, when multiple tabs are open. You will then have to click a Close tabs button to confirm your action.

MultipleTabsPrompt89

There are a few different ways to close a Firefox window or quitexit the browser. Starting in Firefox version 94, Firefox no longer warns you by default when you quitexit the browser or close a window using a menu, button, or three-key command. The close actions in these particular contexts were likely intentional and so the messages provided unnecessary and perhaps unwelcome interruption.

The only instance in which a close warning is on by default is for two-key quit shortcuts on macOS and Linux. The risk of accidental closure is higher in this context since the quit shortcut (⌘+Q) is adjacent to the switch-application shortcut (⌘+Tab).

Despite these changes to the default action, you will still have full control over the quitexit/close modal behavior. All warnings can be managed within Firefox Settings .

How do I enable or disable Close tab warnings?

  1. In the Menu bar at the top of the screen, click Firefox and then select Preferences or Settings, depending on your macOS version.Click the menu button Fx89menuButton and select Settings.
  2. In the Tabs section of the General panel, check the box next to Confirm before closing multiple tabs to enable the warnings, and uncheck it to disable them.

Confirm_WintabModal

  1. In the Menu bar at the top of the screen, click Firefox and then select Preferences or Settings, depending on your macOS version.Click the menu button Fx89menuButton and select Settings.
  2. In the Tabs section of the General panel, check the box next to Confirm before closing multiple tabs to enable the warnings, and uncheck it to disable them.

Confirm_MactabModal

Mac users can also exit the browser using the command ⌘+Q keyboard shortcut. If you want to disable Close multiple tabs warnings for when you use this shortcut, uncheck the box next to Confirm before quitting with ⌘+Q.
  1. In the Menu bar at the top of the screen, click Firefox and then select Preferences or Settings, depending on your macOS version.Click the menu button Fx89menuButton and select Settings.
  2. In the Tabs section of the General panel, check the box next to Confirm before closing multiple tabs to enable the warnings, and uncheck it to disable them.

Confirm_LinuxtabModal

Linux users can exit the browser using the Ctrl+Q keyboard shortcut. If you want to disable close multiple tabs warnings for when you use this shortcut, uncheck the box next to Confirm before quitting with Ctrl+Q.

I lost my tabs after the update — What can I do?

You may notice that after updating Firefox to version 94, the tabs from your previous session were closed. To learn how to restore a previous session, visit How do I restore my tabs from last time? Alternatively, following the prompts in the Open previous tabs? one-time notification that will appear after the update will also allow you to restore the tabs from your previous session.

InfobarRestore

この記事は役に立ちましたか?

しばらくお待ちください...

以下の人々がこの記事の執筆を手伝ってくれました:

Illustration of hands

ボランティア

あなたの専門知識を成長させ、他の人と共有してください。質問に答えたり、ナレッジベースを改善したりしてください。

詳しく学ぶ