S
S
Saboteur2015-03-16 04:15:45
Skype
Saboteur, 2015-03-16 04:15:45

How to fix opening links in with empty profile in Firefox?

For some reason, all links from 3rd party applications (like skype or cmd) open in an empty (new) Firefox profile if Firefox is closed.
If Firefox is already open, they normally open in a new contribution with my profile. If Firefox is not running, a new empty profile is created.
Firefox is not used in a standard place (at first, the usual firefox was transferred to a virtual disk), then demolished and installed Firefox Portable - the same trouble.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Saboteur, 2015-04-01
@saboteur_kiev

Understood. The problem is not trivial.
Portable Firefox should not be launched directly (firefox.exe), but through FirefoxPortable.exe, which is a small wrapper that sets up the environment to run.
After installing Portable Firefox, if you register it as default browser, it specifies firefox.exe everywhere.
The solution was to directly find firefox.exe in the registry and change it to firefoxportable.exe, and then reboot. Firefox now opens all links by default (from other programs, including running start google.com from the command line), even if it's not running.
In the registry it is open/comman in
HCR/FirefoxHTML
HCR/FirefoxURL
Normal Firefox has a hardcoded access to profiles.ini
":\Documents and Settings\\Application Data\Mozilla\Firefox\profiles.ini"
to avoid this, portable firefox replaces variables before launching the main firefox.exe
, but to speed up the process, you can add a parameter specifying the profile directly to the shortcut and registry , which will remove unnecessary access to this profiles.ini
For example, in my command in the registry it is specified as follows:
"V:\FirefoxPortable\FirefoxPortable.exe" -profile "V:\FirefoxPortable\Data\profile" -url "%1"
Portable Firefox with cache and profile fit perfectly on a small 200-300 MB virtual disk, it loads in 1-2 seconds.

M
mamontionk, 2020-08-09
@mamontionk

I will add.
You need to remove the -osint parameter from the path if it is present.
Was "C:\FirefoxPortable\App\Firefox\firefox.exe" - osint -url "%1"
Became "C:\FirefoxPortable\FirefoxPortable.exe" -url "%1"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question