mirror of
https://github.com/arkenfox/user.js.git
synced 2025-02-25 00:11:16 +01:00
Updated 2.2 Multiple Profiles [Firefox Portable] (markdown)
parent
67d8f6c987
commit
0256706dd8
@ -3,19 +3,27 @@ How to set up, maintain, rename, delete and run profiles with Firefox Portable.
|
|||||||
- For installed Firefox versions, please refer to [2.1 Multiple Profiles](https://github.com/ghacksuserjs/ghacks-user.js/wiki/2.1-Multiple-Profiles)
|
- For installed Firefox versions, please refer to [2.1 Multiple Profiles](https://github.com/ghacksuserjs/ghacks-user.js/wiki/2.1-Multiple-Profiles)
|
||||||
- For more on running concurrent profiles, see [2.3 Concurrent Profiles](https://github.com/ghacksuserjs/ghacks-user.js/wiki/2.3-Concurrent-Profiles)
|
- For more on running concurrent profiles, see [2.3 Concurrent Profiles](https://github.com/ghacksuserjs/ghacks-user.js/wiki/2.3-Concurrent-Profiles)
|
||||||
|
|
||||||
### Firefox [Portable] Method 1
|
You can't use the Profile Manager or the controls in `about:profiles` with Firefox Portable. But here are three methods to achieve multiple profile. NOTE: Method 1 will result in every profile being fully portable. In method 2, the "secondary" profiles are not portable (as each has a single full path in an ini file). With method 2, none of the profiles are portable (as all profiles have a single full path in an in file).
|
||||||
|
|
||||||
Just create multiple copies of your entire Firefox Portable, and rename as required. Either copy your existing one (make sure Firefox is closed) or unpack new ones from the PortableApps *paf.exe.
|
### Firefox [Portable] Method 1 (Multiple Full Firefox Portables)
|
||||||
|
|
||||||
To create a new default vanilla profile: close Firefox, go to your `\FirefoxPortable\Data` directory and rename your `profile` to a temp name, such as `profile-real`. Start Firefox and a new `profile` folder will be created. Close Firefox, rename `profile` to `profile-vanilla`, and `profile-real` back to `profile`. Now you have a clean new vanilla profile for use elsewhere if required.
|
This method is the easiest, and is in fact the *ONLY* method that allows multiple profiles over multiple Firefox versions. Simply create as many copies of your entire Firefox Portable as you need, rename the folders as required, as set up shortcuts. You can either copy your existing one (make sure Firefox is closed) or unpack new ones from the PortableApps *paf.exe.
|
||||||
|
|
||||||
Use the `AllowMultipleInstances=true` line in each `FirefoxPortable.ini` to allow concurrent Firefox Portables.
|
* `TIP`: To create a new default vanilla profile
|
||||||
|
* Close Firefox
|
||||||
|
* Go to your `\FirefoxPortable\Data` directory and rename your `profile` to a temp name, such as `profile-real`.
|
||||||
|
* Start Firefox and a new `profile` folder will be created.
|
||||||
|
* Close Firefox, rename `profile` to `profile-vanilla`, and `profile-real` back to `profile`.
|
||||||
|
* Now you have a clean new vanilla profile for use elsewhere if required.
|
||||||
|
|
||||||
### Firefox [Portable] Method 2
|
* `TIP`: Use the `AllowMultipleInstances=true` line in each `FirefoxPortable.ini` to allow concurrent Firefox Portables
|
||||||
|
* `TIP`: If you do not have a `FirefoxPortable.ini` in your root folder, there is a template one in `Other/Source`. Remove the lines you do not need and set the values you require. Generally speaking, all you would want or need are: e.g.:
|
||||||
|
* DisableSplashScreen=true
|
||||||
|
* AllowMultipleInstances=true
|
||||||
|
|
||||||
You can't use the Profile Manager or controls in `about:profiles` with Firefox Portable. There are two ways to achieve this. Here's the first. NOTE: These secondary profiles are not portable as they contain a single full path in their ini files. The original full portable Firefox remains portable.
|
### Firefox [Portable] Method 2 (Firefox Portable 2ndProfile App)
|
||||||
|
|
||||||
Download the [FirefoxPortable2ndProfile](http://downloads.sourceforge.net/portableapps/FirefoxPortable2ndProfile_1.2.paf.exe?redirect_do_not_right_click) from PortableApps and run the file as many times as you need to create as many profiles as you need. Always unpack to the same root directory as your original portable Firefox (i.e `D:/Portable/` and NOT `D:/Portable/FirefoxPortable/`).
|
Download the [FirefoxPortable2ndProfile](http://downloads.sourceforge.net/portableapps/FirefoxPortable2ndProfile_1.2.paf.exe?redirect_do_not_right_click) from PortableApps and run the file as many times as you want to create as many profiles as you need. Always unpack to the same root directory as your original portable Firefox (i.e `D:/Portable/` and NOT `D:/Portable/FirefoxPortable/`).
|
||||||
|
|
||||||
```
|
```
|
||||||
- FirefoxPortable (full portable Firefox)
|
- FirefoxPortable (full portable Firefox)
|
||||||
@ -30,7 +38,7 @@ LastProfileDirectory=D:\Portable\FirefoxPortableHardened\Data\profile
|
|||||||
SubmitCrashReport=0
|
SubmitCrashReport=0
|
||||||
```
|
```
|
||||||
|
|
||||||
To run concurrent profiles, you will need to add the following line to the FirefoxPortable.ini files.
|
To run concurrent profiles, you will need to add the following line to each FirefoxPortable.ini file.
|
||||||
```
|
```
|
||||||
AllowMultipleInstances=true
|
AllowMultipleInstances=true
|
||||||
```
|
```
|
||||||
@ -43,9 +51,9 @@ They are in different places: for the main portable Firefox, the location is the
|
|||||||
|
|
||||||
To run any profile, run the appropriate portable exe. Create shortcuts for them and rename them.
|
To run any profile, run the appropriate portable exe. Create shortcuts for them and rename them.
|
||||||
|
|
||||||
### Firefox [Portable] Method 3
|
### Firefox [Portable] Method 3 (Custom)
|
||||||
|
|
||||||
Here is a second method, and due to the restructuring of the profile locations, this means it is no longer portable.
|
Here is another method, and due to the restructuring of the profile locations, this means all profiles are no longer automatically picked up if the path changes (a simple ini edit for each one can fix this for migrations). This method is great for running lots (dozens!) of profiles with a single Firefox version.
|
||||||
|
|
||||||
Here is a typical Firefox Portable profile layout
|
Here is a typical Firefox Portable profile layout
|
||||||
```
|
```
|
||||||
@ -91,7 +99,6 @@ For each `settings\FirefoxPortableSettings.ini` you will need to modify the `Las
|
|||||||
[FirefoxPortableSettings]
|
[FirefoxPortableSettings]
|
||||||
LastProfileDirectory=D:\Portable\FirefoxPortable\Data\relaxed\profile
|
LastProfileDirectory=D:\Portable\FirefoxPortable\Data\relaxed\profile
|
||||||
SubmitCrashReport=0
|
SubmitCrashReport=0
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Also, for each ini in the root directory you will need to add the following lines. Note that `AllowMultipleInstances` when true allows you to run concurrent profiles. Here is the `relaxed` one
|
Also, for each ini in the root directory you will need to add the following lines. Note that `AllowMultipleInstances` when true allows you to run concurrent profiles. Here is the `relaxed` one
|
||||||
@ -101,16 +108,14 @@ ProfileDirectory=Data\relaxed\profile
|
|||||||
SettingsDirectory=Data\relaxed\settings
|
SettingsDirectory=Data\relaxed\settings
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
To launch any profile, you run a bat file located in the root directory, which replaces `FirefoxPortable.ini` with the profile one of your choice and then runs FirefoxPortable.exe
|
To launch any profile, you run a bat file located in the root directory, which replaces `FirefoxPortable.ini` with the profile one of your choice and then runs FirefoxPortable.exe
|
||||||
|
|
||||||
```batch
|
```batch
|
||||||
@echo off
|
@echo off
|
||||||
echo Which profile:
|
echo Which profile:
|
||||||
echo 1 (default)
|
echo 1: default
|
||||||
echo 2 (hardened)
|
echo 2: hardened
|
||||||
echo 3 (relaxed)
|
echo 3: relaxed
|
||||||
set /p Input=
|
set /p Input=
|
||||||
if /i "%Input%"=="1" (goto Profile1)
|
if /i "%Input%"=="1" (goto Profile1)
|
||||||
if /i "%Input%"=="2" (goto Profile2)
|
if /i "%Input%"=="2" (goto Profile2)
|
||||||
|
Loading…
Reference in New Issue
Block a user