Цей вебсайт матиме обмежену функціональність, доки ми проводимо його обслуговування для поліпшення роботи. Якщо прочитана стаття не розв'язала вашу проблему і ви хочете поставити питання, наша спільнота підтримки з радістю допоможе вам на @FirefoxSupport у Twitter та /r/firefox на Reddit.

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема закрита і перенесена в архів. Якщо вам потрібна допомога, запитайте.

close tab warning option

  • 8 відповідей
  • 2 мають цю проблему
  • 1 перегляд
  • Остання відповідь від Bobby B

more options

When i have multiple tabs open and i close the browser i get the quit warning just like i want, but can i somehow disable the "Warn me when I attempt to close multiple tabs" option that is in the warning but still keep the warning appearing. I always accidentally click on it when i am trying to close the browser and then i have to restart the browser just to turn the option on again.

When i have multiple tabs open and i close the browser i get the quit warning just like i want, but can i somehow disable the "Warn me when I attempt to close multiple tabs" option that is in the warning but still keep the warning appearing. I always accidentally click on it when i am trying to close the browser and then i have to restart the browser just to turn the option on again.

Обране рішення

You can use a user.js file to set this pref to true to avoid going to Options/Preferences to set the checkmark. Note that Firefox only shows these tab warn settings when they aren't default.

Create the user.js file in the profile folder and add this line to the file..

  • user_pref("browser.tabs.warnOnClose", true);

See also:

The user.js file is read each time Firefox is started and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.

You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

Читати цю відповідь у контексті 👍 0

Усі відповіді (8)

more options

Mine doesn't do that I think something else is messed up there. Unless you got some other addons causing the settings to save correctly one should turn off addon/extension and try to see if that doesn't fix that.

more options

I disabled all of my addons but it didn't help. Even when i restarted the browser after turning the addons off. Also non of my addons should affect it.

more options

Could you please go over your question again as it is very unclear what you want and what you are expecting.

The answer to can you keep : No.

more options

the image shows you what i want. Is it even possible? If not, how can i delete this question? Well i quess i could just edit the source code it self and then compile my own version of firefox if it really is 100% impossible in any other way.

more options

Вибране рішення

You can use a user.js file to set this pref to true to avoid going to Options/Preferences to set the checkmark. Note that Firefox only shows these tab warn settings when they aren't default.

Create the user.js file in the profile folder and add this line to the file..

  • user_pref("browser.tabs.warnOnClose", true);

See also:

The user.js file is read each time Firefox is started and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.

You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

more options

Thanks. even thou it didn't remove the option, it made the option not do anything witch is good enough for me.

more options

You could possibly lock the involved pref with a mozilla.cfg file in the Firefox program folder to make it impossible to change it accidentally.

See Configuration:

more options

You may want to play with: browser.warnOnQuit This seems to control the popup warning. I want it on to get the warning. This did it for me.

my browser.tabs.warnOnCloseOtherTabs and browser.tabs.warnOnClose are both on also.