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

Browser Controller by Matthias Hörmann

Provides a way to inspect and control browser windows and tabs from a Rust CLI program. It also allows watching an event stream of window and tab events. The Event stream and CLI output use JSON for simple scripting with e.g. jq

0 (0 reviews)0 (0 reviews)
Download Firefox and get the extension
Download file

Extension Metadata

About this extension
This is meant to allow a power user to integrate browser window and tab control with other parts of their environment, e.g. shell scripts, window manager or compositor shortcuts, system services or timed jobs.

For ease of scripting the output can optionally use JSON and the event stream of browser events uses newline delimited JSON objects.

Currently, as of 0.1.5 it allows listing, opening and closing windows as well as setting and removing a window title prefix that can be used to e.g. distinguish different Firefox windows from each other if you want your window system rules to always move one to your left screen and the other to your right screen or want to open work tabs in a specific window and personal tabs in another.

For tabs it allows listing, opening, activating, navigating to a new URL, closing, pinning, unpinning, warming discarded tabs up, muting and unmuting tab audio, moving the tab to a different position in the window's tab bar and going forward and backward in history.

When opening a new tab it can also optionally remove credentials embedded in the URL of basic auth pages after they have been cached by the browser so they can't be seen over the user's shoulder or accidentally copied.

The event stream includes events for basic window and tab operations like opening, closing and activating another tab as well as changes in titles and notifications when a page has finished loading.

Note: My primary testing and development platform for this is Linux but I do provide binaries for other desktop platforms for the Rust side of this. Bug reports from users on those platforms are welcome if I overlooked some minor platform-specific issues. This is not really meant for use on mobile platforms since CLI use is uncommon there.
Rated 0 by 0 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
0
4
0
3
0
2
0
1
0
No reviews yet
Permissions and data

Required permissions:

  • Exchange messages with programs other than Firefox
  • Access recently closed tabs
  • Access browser tabs

Optional permissions:

  • Access your data for all web sites

Data collection:

  • The developer says this extension doesn't require data collection.
Learn more
More information
Add-on Links
  • Support site
Version
0.1.5
Size
15.44 kB
Last updated
9 days ago (2 Apr 2026)
Related Categories
  • Tabs
Licence
Apache Licence 2.0
Privacy Policy
Read the privacy policy for this add-on
Version History
  • See all versions
Add to collection
Report this add-on
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.