Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of Conductor: Container Redirector

Conductor: Container Redirector by mcortt

Conductor is a Firefox extension that allows you to automatically redirect specific URLs, using regex, to designated Firefox containers. Take control of your browsing context and enhance your privacy and organization.

5 (2 reviews)5 (2 reviews)
12 Users12 Users
You'll need Firefox to use this extension
Download Firefox and get the extension
Download file

Extension Metadata

About this extension
Conductor: Dynamic URL Redirection to Firefox Containers

Conductor is a Firefox extension that allows you to automatically redirect specific URLs to designated Firefox containers. Take control of your browsing context and enhance your privacy and organization.

Features
  • User-Defined Rules: Create custom rules to redirect URLs based on powerful regular expressions.
  • Container Support: Seamlessly integrates with Firefox's built-in container feature.
  • Automatic Redirection: Redirects matching URLs before the page even loads, ensuring you're always in the right context.
  • Persistent Settings: Your redirection rules are saved and synchronized across your Firefox profile (using browser.storage.sync).
  • Options Page: An easy-to-use options page allows you to manage your redirection rules.
  • Lightweight and Efficient: Built with performance in mind.
  • Open Source

How to Use
  1. Install the Extension: Install Conductor from the Firefox Add-ons website.
  2. Open Options Page: Go to about:addons (or Manage Your Extensions), find Conductor, and click "Preferences".
  3. Add Rules:
    • Click the "Add Rule" button.
    • Enter a URL Pattern: This is a regular expression that will be matched against the URL. For example:
      • example\.com: Matches any URL containing "example.com".
      • ^https://www\.example\.com: Matches URLs that start with "https://www.example.com".
      • .*\.google\.com: Matches any Google domain or subdomain.
    • Select a Container Name: Choose the container you want to open matching URLs in. You must have already created the container in Firefox.
    • Click Save
  4. Test: Visit a URL that matches one of your rules. It should automatically open in the specified container.

Permissions Explained

This extension requires the following permissions:
  • webRequest and webRequestBlocking: These permissions are necessary to intercept network requests before they are sent, allowing the extension to redirect URLs to the appropriate container. This is the core functionality of the extension.
  • tabs: This permission is used to create new tabs in the specified containers and to manage existing tabs (e.g., closing the original tab).
  • cookies: This permission is required to access the cookieStoreId associated with each tab and container. This ensures that the redirection happens within the correct container context.
  • contextualIdentities: This permission allows the extension to interact with Firefox's container feature, retrieving the list of available containers and creating new tabs within specific containers.
  • storage: This permission is used to store your redirection rules persistently and synchronize them across your Firefox profile.
  • <all_urls> (Host Permission): This permission is necessary to allow the extension to intercept all URLs. Without this, the extension would only be able to intercept URLs that you explicitly listed, which would defeat the purpose of user-defined rules. The extension uses this permission responsibly to match URLs against your user-defined rules and redirect them to the appropriate containers. It does not collect or transmit any browsing data.

Regular Expressions (Regex)

Conductor uses regular expressions for URL matching, giving you great flexibility. Here are some basic regex tips:
  • . (period): Matches any single character (except a newline).
  • * (asterisk): Matches the preceding character zero or more times.
  • + (plus): Matches the preceding character one or more times.
  • ? (question mark): Matches the preceding character zero or one time.
  • ^ (caret): Matches the beginning of the string.
  • $ (dollar sign): Matches the end of the string.
  • \ (backslash): Escapes special characters (e.g., \. matches a literal period).
  • [] (square brackets): Matches any character within the brackets (e.g., [abc] matches "a", "b", or "c").
  • [^ ] : Matches anything that is NOT in the set
  • ( ) : Groups sections.

Example:

To match any URL that starts with "https://www.example.com" or "https://example.com", you could use:

^https://(www\.)?example\.com
Rated 5 by 2 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
2
4
0
3
0
2
0
1
0
Read all 2 reviews
Permissions and dataLearn more

Required permissions:

  • Access browser tabs

Optional permissions:

  • Access your data for all web sites
More information
Add-on Links
  • Homepage
  • Support site
Version
1.1.0
Size
43.02 kB
Last updated
2 months ago (9 Jun 2025)
Related Categories
  • Privacy & Security
  • Tabs
Licence
GNU General Public Licence v3.0 only
Version History
  • See all versions
Tags
  • container
  • privacy
  • security
Add to collection
Report this add-on
Release notes for 1.1.0
Fixed an issue where if there was an existing tab that matched the filter, Conductor would just activate that existing tab instead of proceeding with navigation logic. See: Github Issue #4 - https://github.com/mcortt/Conductor/issues/4

Now only closes the current tab if it is a New Tab, Blank Tab, or Extension page.
More extensions by mcortt
  • 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.