Skip to main content

Open things in a particular firefox profile from the command line

Project description

Profile fox

@readwithai - X - Blog

Open tabs in certain firefox profiles from the command line.

Installation

pipx install profile-fox

Usage

First create a few profiles.

Then run: profile-fox profile_name www.test.com

This will open www.test.com in a particular profile. Note that if no URL is provided a new window will be created.

Details

This script follows the approach suggested by toc777 on stackoverflow, by modifying firefox's profiles.ini file to change the default firefox to use before running firefox. It ensure that StartWithLastProfile when running. profiles.ini is restored after this script has rile

Edge cases

You may have problems if your profiles.ini file is in a strange place. You can set the location that profile-fox looks for profiles by running profile-fox --set-profiles

About me

I am @readwithai. I make tools related to reading, research and agency sometimes using Obsidian.

I have a habit of making linux productivity tools. You can read about them here.

You might be interested in:

  1. curlfire, a tool to use firefox cookies from the command line
  2. zshnip a command line snippet for zsh.
  3. Reading by summary of Note take in Obsidian.

You can follow me on X or my blog.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

profile-fox-1.0.1.tar.gz (3.2 kB view details)

Uploaded Source

File details

Details for the file profile-fox-1.0.1.tar.gz.

File metadata

  • Download URL: profile-fox-1.0.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for profile-fox-1.0.1.tar.gz
Algorithm Hash digest
SHA256 8a9509f7df95d49bcbfe587affbc7fc40f6a5aa84822237ed9e77b39037dc8fd
MD5 6c058471359dd04ccded2ab3b213899b
BLAKE2b-256 c4870239571d6c091f096741e76478167e373e6afa66bbd9811fde89b6842329

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page