Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of Close Tabs By Pattern

Close Tabs By Pattern by Mathieu Pillard

Automatically close tabs whose URL match specific patterns

ExperimentalExperimental
5 (1 reviews)5 (1 reviews)
27 Users27 Users
You'll need Firefox to use this extension
Download Firefox and get the extension
Download file

Extension Metadata

About this extension
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.
Rated 5 by 1 reviewer
Log in to rate this extension
There are no ratings yet

Star rating saved

5
1
4
0
3
0
2
0
1
0
Read 1 review
Permissions and dataLearn more

Required permissions:

  • Access browser tabs
  • Access your data for all web sites
More information
Add-on Links
  • Homepage
Version
0.2
Size
9.74 kB
Last updated
6 years ago (9 Jun 2019)
Related Categories
  • Tabs
Licence
MIT Licence
Version History
  • See all versions
Add to collection
Report this add-on
More extensions by Mathieu Pillard
  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike Licence v3.0 or any later version.