Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

how to permanently keep the warning about closing multiple tab

  • 2 ответа
  • 0 имеют эту проблему
  • 1 просмотр
  • Последний ответ от cor-el

more options

how to permanently keep the warning about closing multiple tabs?

Every so often, probably due to an unseen update, when I press the red X at the top of of a page where multiple tabs are open, to see how many tabs are open, they disappear, and the preference option to not close multiple tabs without warning (which says the # of tabs open), has to be turned back on.

how to permanently keep the warning about closing multiple tabs? Every so often, probably due to an unseen update, when I press the red X at the top of of a page where multiple tabs are open, to see how many tabs are open, they disappear, and the preference option to not close multiple tabs without warning (which says the # of tabs open), has to be turned back on.

Все ответы (2)

more options

The browser.tabs.warnOnClose preference should not reset itself to false after you set it to true, unless Firefox is Reset/Refreshed. But keep in mind that if the number of tabs open in the window is less than 24 (the number you can restore immediately from the Recent Closed Tabs list), then you won't get the warning even with that preference set to true.

Meanwhile, I'm thinking there must be a more efficient way to get a count of open tabs. Maybe this add-on: https://addons.mozilla.org/firefox/addon/tab-count-icon/

Note that you can move the button to the Tabs bar, if you like, after you "Pin to Toolbar" from the Extensions button drop-down. See:

Step 1: Manage your extensions using the extensions button in the toolbar

Step 2: Customize Firefox controls, buttons and toolbars

Полезно?

more options

Do you mean the close X to close a window? Firefox doesn't ask for confirmation if the number of tabs is less than what session restore can handle (reopen).

You can paste this code in the command-line in the Browser Console to see the total number of tabs.

gBrowser.tabContainer._allTabs.length

For pinned tabs:

gBrowser.tabContainer._lastNumPinned

To enable the command-line in the console.

Полезно?

Задать вопрос

Для ответа на сообщения вы должны войти в свою учётную запись. Пожалуйста, задайте новый вопрос, если у вас ещё нет учётной записи.