Skip to main content

Open things in a particular firefox profile from the command line

Project description

Profile fox

@readwithai - X - Blog - pypi package

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.3.tar.gz (3.3 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: profile-fox-1.0.3.tar.gz
  • Upload date:
  • Size: 3.3 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.3.tar.gz
Algorithm Hash digest
SHA256 461207aebc52e3698be3d724541ce61ed8bd522c62870c9ac957fa3690549d5a
MD5 519bc6c2851c49e9ae0ccc02ae0b6dda
BLAKE2b-256 230c131149263772dbd708786a231edfc7ad5402d2ecf59af5be24937c038043

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