Skip to content

talwrii/profile-fox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Profile Fox

@readwithai - X - Blog - pypi package

Open new tabs in a given Firefox profile 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 run.

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 taking in Obsidian.

You can follow me on X or my blog.

About

Open new tabs in a specific firefox profile.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors