Categories

Close Tabs By Pattern v0.2

  • rating
  • rating
  • rating
  • rating
  • rating
5.00 (1 reviews)
Automatically close tabs whose URL match specific patterns

Adds a button that automatically closes tabs whose URL match specific patterns

Originally built as a way for tab hoarders like me to quickly close work-related tabs that have accumulated during the week before going on PTO or week-end.

Example usage:

  • Open the add-on preferences page, and add a pattern for *://github.com/*.
  • Click the button, and all tabs from Github should automatically be closed.
Pinned tabs are excluded, and patterns should be synchronized across multiple devices.

Patterns follow match patterns rules for WebExtensions (<scheme>://<host><path>).

Depending on how you use containers, you may prefer https://addons.mozilla.org/en-US/firefox/addon/close-container/ which is simpler to use. It didn't match my usage of containers so I wrote this instead.