LegacyCollector

Home | Legacy Firefox Extensions | Content Policy | Contact

Close other tabs

Author(s):



Close other tabs adds the following five keyboard shortcuts to Firefox:

- Ctrl+Shift+F3 closes all tabs on the left of the active one
- Ctrl+Shift+F4 closes all tabs except the active one
- Ctrl+Shift+F5 closes all tabs on the right of the active one
- Ctrl+Shift+F6 closes all tabs with the same domain as the active one
- Ctrl+Alt+F4 closes all windows except the active one

Mac OS users press Command instead of Ctrl.

Closing tabs respects grouped tabs (Firefox Panorama) and app tabs. This behaviour can be changed using the Add-on's options window.

Customize Shortcuts
The shortcuts can be customized using the keyconfig extension by Dorando. A version which is compatible with Firefox 3.6 can be found here.
After having installed keyconfig, open the configuration window by pressing Ctrl+Shift+F12 and adjust the following values as you like.
- Close Tabs at Left (cot2_closeTabsAtLeft before version 2.2)
- Close Other Tabs (cot2_closeOtherTabs)
- Close Tabs at Right (cot2_closeTabsAtRight)
- Close Tabs With This Domain
- Close Other Windows

Disable context menu entries
Version 2.3 introduces additional entries for the tab's context menu in Firefox 3.7 and above. They can be disabled by adding the following lines to the userchrome.css.

/* disable Close Other Tabs context menu entries */
#cot2_closeTabsAtLeftMenu {display: none;}
#cot2_closeDomainTabsMenu {display: none;}
#cot2_closeTabsAtRightMenu {display: none;}
#cot2_closeOtherWindowsMenu {display: none;}


Download files:

close-other-tabs-2.2.xpi
close-other-tabs-2.3.xpi
close-other-tabs-2.4.1-signed.1-signed.xpi
close-other-tabs-2.5.1-signed.1-signed.xpi
close-other-tabs-2.6.1-signed.1-signed.xpi
close-other-tabs-2.7.1-signed.1-signed.xpi
close-other-tabs-2.8.1-signed.1-signed.xpi




This page is part of the LegacyCollector website.
Disclaimer: All material on this site is property of their respective owners and available under
open licenses to the best of our knowledge. If you are an author and would like anything removed,
then please write an e-mail to legacy [at] collector dot org.