Mullvad LibreWolf Zen GNU_IceCat Floorp FireDragon Midori Dot Waterfox (Tor maybe) Guide to Running PWAsForFirefox Software with The Your Browser's Engine #794
universish
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
In this guide, I will explain how to run PWAs without using the Firefox browser engine/runtime folder from PWAsForFirefox.
..............................................................................................................................................................................................................................................................................
We will run PWAs using the engine/runtime capabilities of the browser you have installed (excluding the Firefox browser).
..............................................................................................................................................................................................................................................................................
We will do this by synchronizing the “runtime” folder.
This guide will use Mullvad Browser Portable as an example:
PWAs working with Mullvad Browser (I guess this is a portable program) using the MSI installation of PWAsForFirefox.
Here is the step-by-step solution for Windows users:
1. Link Mullvad Browser as the Runtime
Instead of downloading a separate runtime or fighting with
config.jsonpaths, I mapped theruntimefolder directly to Mullvad's internal browser folder.i. Remove existing runtime folder if it exists
ii. Open the directory where Mullvad Browser is located.
“C:<bla_bla>\Mullvad Browser\Browser”
Copy the mullvadbrowser.exe file and paste it next to the “mullvadbrowser.exe” file.
Rename the copied file, such as “mullvadbrowser_copy.exe,” to firefox.exe.
iii. Create a Junction Link pointing to Mullvad's (runtime) engine
NOTE: Make sure to point to the 'Browser' folder inside Mullvad, where mullvadbrowser.exe resides:
.
.
mklink /J "%AppData%\FirefoxPWA\runtime" "C:\<bla_bla>\Mullvad Browser\Browser".
.
2. Bypass "Downgrade Protection" & Version Errors
When using an existing browser as a runtime, Firefox might throw a "You are using an older version of Firefox" error or refuse to launch the profile. To fix this, we need to allow downgrades globally.
MOZ_ALLOW_DOWNGRADE13. Install the PWA
4. Transfer Mullvad Settings & Extensions (Hardening)
C:\<bla_bla>\Mullvad Browser\Data\Profiles\<bla_bla_bla>.default-release%AppData%\FirefoxPWA\profiles\YOUR_PWA_PROFILE_ID\. Default Profile folder:%AppData%\FirefoxPWA\profiles\00000000000000000000000000I performed the same process using the PWAsForFirefox portable version managed by PortableApps.com. Only the file locations change in that version. Everything else remains the same.
mklink /J “C:\<bla_bla_bla>\PortableApps\PWAsForFirefoxPortable\App\PWAsForFirefox\runtime” “C:\<bla_bla>\Mullvad Browser\Browser”.This command creates a synchronized shortcut folder named “runtime” inside the “C:<bla_bla_bla>\PortableApps\PWAsForFirefoxPortable\App\PWAsForFirefox” directory. It synchronizes the files and folders in the “C:<bla_bla_bla_bla_bla>\Mullvad Browser\Browser\” directory of the Mullvad browser with the “C:<bla_bla_bla>\PortableApps\PWAsForFirefoxPortable\App\PWAsForFirefox\runtime” directory.
MOZ_ALLOW_DOWNGRADE1These instructions are what you need to do after installing the PWAsForFirefox software using the “PWAsForFirefox<bla..bla>.msi” file, as I explained step by step earlier.
If you have never installed the PWAsForFirefox executable software, follow these steps.
mklink /J “C:\<bla_bla_bla>\PortableApps\PWAsForFirefoxPortable\App\PWAsForFirefox\runtime” “C:\<bla_bla>\Mullvad Browser\Browser”.This command creates a synchronized shortcut folder named “runtime” inside the “C:<bla_bla_bla>\PortableApps\PWAsForFirefoxPortable\App\PWAsForFirefox” directory. It synchronizes the files and folders in the “C:<bla_bla_bla_bla_bla>\Mullvad Browser\Browser\” directory of the Mullvad browser with the “C:<bla_bla_bla>\PortableApps\PWAsForFirefoxPortable\App\PWAsForFirefox\runtime” directory.
MOZ_ALLOW_DOWNGRADE1All reactions