🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

foxglove

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

foxglove

Firefox proxy profile manager

0.1.10
PyPI
Maintainers
1

foxglove

Foxglove is a Firefox wrapper with two purposes:

  • Programatically generate Firefox profiles with preferences that I consider desirable for the majority of use cases. These disable, where possible, Firefox's built-in advertising, pop-ups, telemetry, experiments, and similar features. Generated profiles are stored in ~/.foxglove.

  • If a remote host is given, ssh to it and use that connection as a SOCKS proxy. In either case, launch Firefox.

usage: foxglove [-h] [--chrome path] [--content path] [-d] [-e] [-a add-on] profile [host]

foxglove - a Firefox profile and proxy manager

positional arguments:
  profile         the name of the foxglove-managed profile to use or create
  host            ssh server hostname. If this option is given, foxglove will attempt to use ssh(1) to connect to the host and configure Firefox to use it
                  as a SOCKS proxy

optional arguments:
  -h, --help      show this help message and exit
  --chrome path   path to a userChrome.css file to add to the profile
  --content path  path to a userContent.css file to add to the profile
  -d              dry run (don't launch Firefox)
  -e              ephemeral (delete profile on exit)
  -a add-on       download and install this add-on. Use the name as it appears in the Mozilla add-ons site URL. May be used multiple times

To use the "host" argument, configure a corresponding Host entry in your ~/.ssh/config such that you can ssh to it with no additional arguments. The remote host must allow port forwarding.

Foxglove launches Firefox via a subprocess call to "firefox". On MacOS, the Firefox binary is not typically in PATH, so foxglove first appends /Applications/Firefox.app/Contents/MacOS to PATH. Prepending another directory to PATH may be used to select a particular Firefox installation. For example, you might launch Firefox Nightly on MacOS like this:

PATH="/Applications/Firefox Nightly.app/Contents/MacOS:$PATH" foxglove example

Preferences

These settings have changed substantially during Firefox's development, so some may be unsupported or meaningless in current versions.

Preference changes made to a foxglove-managed profile will reset to foxglove's default values on the next run. To retain changes, you can either use the generated profile as a normal Firefox profile without foxglove, or modify your installation of foxglove's prefs.js file with your desired preferences.

Some foxglove defaults to consider changing:

KeyDefaultFoxgloveComments
dom.event.clipboardevents.enabledtruefalseMay break some sites
privacy.resistFingerprintingfalsefalseMay break some sites; can be counterproductive
privacy.donottrackheader.enabledfalsetrueMay be used for fingerprinting
network.trr.mode00TRRs can interfere with test environments
  • Firefox Profilemaker

Keywords

mozilla

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts