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

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

Learn More

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

How to stop firefox quiting last tab(when only one tab is open) without warning??

  • 2 відповіді
  • 2 мають цю проблему
  • 4582 перегляди
  • Остання відповідь від cor-el

more options

i want to disable ctrl+w when only one tab is open so that when only one tab is open and if i press ctrl+w by mistake it shoud warn me before closing browser

i want to disable ctrl+w when only one tab is open so that when only one tab is open and if i press ctrl+w by mistake it shoud warn me before closing browser

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

You can 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.

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

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

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

more options

Okay so you want to add a feature right ?

more options

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

You can 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.

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.