Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Fungovanie tejto stránky je z dôvodu údržby dočasne obmedzené. Ak článok nevyrieši váš problém a chcete položiť otázku, napíšte našej komunite podpory na Twitter @FirefoxSupport alebo Reddit /r/firefox.

Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Ďalšie informácie

Revert change: warn when closing one of the 2+ opened windows, but don't warn on Exit

  • 2 odpovede
  • 1 má tento problém
  • 1 zobrazenie
  • Posledná odpoveď od PeteSapai

more options

I often have multiple Windows (2 or 3) all with multiple tabs open. I have "Open previous windows and tabs" checked, and "Confirm before closing multiple tabs" not checked.

Old behaviour (pre 94, I think): when trying to close 1 of the windows, Firefox would ask 'are you sure?' (or something like that)

New behaviour: when trying to close 1 of the windows, the window closes, without warning, losing all those tabs (Sure, ctrl+shift+n restores it, but that's not the issue).

I can, of course, check "Confirm before closing multiple tabs", but that means Fx will also bug me when Exiting, and I don't want that.

Is there a way to revert this change? To have Fx again ask if you want to close a single 2nd (or 3rd, 4th, ...) window, but not when exiting Fx?

I often have multiple Windows (2 or 3) all with multiple tabs open. I have "Open previous windows and tabs" checked, and "Confirm before closing multiple tabs" not checked. Old behaviour (pre 94, I think): when trying to close 1 of the windows, Firefox would ask 'are you sure?' (or something like that) New behaviour: when trying to close 1 of the windows, the window closes, without warning, losing all those tabs (Sure, ctrl+shift+n restores it, but that's not the issue). I can, of course, check "Confirm before closing multiple tabs", but that means Fx will also bug me when Exiting, and I don't want that. Is there a way to revert this change? To have Fx again ask if you want to close a single 2nd (or 3rd, 4th, ...) window, but not when exiting Fx?

Všetky odpovede (2)

more options

Not really. The browser does not know that you had closed a window by accident.

As stated, there are warning for >Closing multiple tabs >Exiting Firefox


Type about:config<enter> in the address bar. If a warning screen comes up, press the I Accept the Risk button. At the top of the screen is a search bar.

Look for; browser.tabs.closeWindowWithLastTab

browser.tabs.warnOnClose

more options

Thanks for the reply, but it's not what I was looking for.

> The browser does not know that you had closed a window by accident.

It doesn't need to know, it simply needs to warn when closing one of the multiple windows, like it used to.

> browser.tabs.closeWindowWithLastTab

This setting isn't relevant, as it only triggers when closing a tab (specifically, the very last tab of a window).

> browser.tabs.warnOnClose

Is the same as 'Confirm before closing multiple tabs' in settings, and is also not the solution for this specific problem. Yes, it will warn when closing one of the windows, but will also warn when exiting. I want the former, but not the latter (the way it used to work pre 94)