Easily create and load new Chrome profiles
Project description
About
Create new Google Chrome sessions, persistent and temporary, separate from your default Chrome profiles.
New sessions start with default Chrome settings by default, but it is possible to base new sessions off of others. Some possibilities include:
-
Browsing in a temporary session that inherits bookmarks, cookies, and extensions from your default Chrome profile without impacting it or leaving a history
-
Browsing in persistent sessions that can be accessed repeatedly, each with their own bookmarks, history, extensions, and cookies (no more signing in and out of different profiles on certain websites!)
Usage
After installation, run $ cswitch
to open the GUI interface.
A command line interface will be added in the future.
Options
New persistent session
Create and open a new persistent session.
Choosing this option automatically generates a shortcut file in the same directory as the new session. To use the shortcut file, drag and drop persistent session directories onto it, and that session will open.
Choosing this option also automatically generates a default profile shortcut in the same directory (double click it to open it). If you're running a separate session from the default, use this to open your default profile without being forced to exit the other session.
New temporary session
Create and open a new temporary session.
On Windows, this session's data is deleted when you close the last remaining tab of the session. On macOS, it's deleted when you quit that session of Chrome (cmd+Q
). If your computer shuts off unexpectedly (e.g. dead battery), there is a small chance some data could remain.
Regenerate shortcut files
Remakes the shortcut files mentioned above if they get lost or damaged.
Settings
As mentioned above, you can select an existing Chrome session directory that new sessions will inherit from. For instance, you might want to inheret from the default session directory. On most computers, that directory is at:
Windows: %LOCALAPPDATA%\\Google\\Chrome\\User Data
macOS: ~/Library/Application Support/Google/Chrome
Start new sessions with this base (or another) in the settings menu by following the GUI and selecting a folder.
NOTE: Doing this may slow down new session generation as files have to be copied over.
Installation
Python is required. This program was tested on Python 3.11 but should work on all maintained Python versions.
Windows and macOS
Option 1: pip
The easiest way to install this program is using pip: $ pip install chrome-switcher
Option 2: download and run
Download the source code and run main.py: $ python3 /path/to/main.py
Linux
This program has not been tested on Linux.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file chrome_switcher-0.0.3.tar.gz
.
File metadata
- Download URL: chrome_switcher-0.0.3.tar.gz
- Upload date:
- Size: 263.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e8cf6d805d33384187e12577e5109c9a0498a8ca2d3d7fc67c11341595bebb4 |
|
MD5 | 4252afdcc11e81f19cbe516a6ffe66a1 |
|
BLAKE2b-256 | 2297d7f38eddcefe5880d4d2da6bf25362c3eb703a64f1bdfe70b14ed55f856b |
File details
Details for the file chrome_switcher-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: chrome_switcher-0.0.3-py3-none-any.whl
- Upload date:
- Size: 280.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ec53f23218b977dc6aebab9f3360a269549b059632f787eeed795e7497c5def |
|
MD5 | 7932c759279f6894ad7469541c6c5de8 |
|
BLAKE2b-256 | 178d361fbf0891e586e226c891969e395fbdb4b0f18753213f499436b6858499 |