Skip to main content

Open things in a particular firefox profile from the command line

Project description

Profile fox

@readwithai - X - Blog - [pypi package] https://pypi.org/project/profile-fox

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

Uploaded Source

File details

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

File metadata

  • Download URL: profile-fox-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 6e0a39151a0ad1f907914fb1d203ebf801848a321284cb0d5c23d4f48edf7487
MD5 f141127d06b348879553f3ecfceca6cc
BLAKE2b-256 b4309263b06998c0a0676bc65e6b0267f6863004f3f743b81a03273be2a4757f

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