Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Pomoc pśepytaś

Glědajśo se wobšudy pomocy. Njenapominajomy was nigda, telefonowy numer zawołaś, SMS pósłaś abo wósobinske informacije pśeraźiś. Pšosym dajśo suspektnu aktiwitu z pomocu nastajenja „Znjewužywanje k wěsći daś“ k wěsći.

Learn More

How do you close last tab with the middle mouse button?

  • 3 wótegrona
  • 10 ma toś ten problem
  • 8 naglědow
  • Slědne wótegrono wót cor-el

more options

Closing the last tab with the keyboard shortcut exits firefox (browser.tabs.closeWindowWithLastTab is set to True), but not with the middle mouse button, though closing other tabs works.

25.0.1 windows 7

Cam

Closing the last tab with the keyboard shortcut exits firefox (browser.tabs.closeWindowWithLastTab is set to True), but not with the middle mouse button, though closing other tabs works. 25.0.1 windows 7 Cam

Wšykne wótegrona (3)

more options

Do you want to close Firefox with closing the last tab?

If you set browser.tabs.closeWindowWithLastTab to false then you get a close button and can close this tab, but Firefox doesn't close of course with this setting.

more options

I would like to keep the current functionality of closing the windows when closing the last tab via keyboard shortcut, and have it apply to closing tabs with the middle mouse button.

As it stands, middle clicking the last tab has no effect on the tab or window. other tabs close as normal.

more options

You can only close the last tab by setting that pref to false.
You can't have a different behavior for the mouse and the keyboard (there is a close Window shortcut key).
Otherwise you need open a new tab and drag that tab to position one to have the first tab as an empty tab.
If you really want to close the tab then best is to first close the tab and then close the window to prevent a History > Recently Closed Windows entry.

See also Help > Keyboard Shortcuts