搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

how does firefox change windows 7's regedit to set default browser?

  • 11 回覆
  • 2 有這個問題
  • 1 次檢視
  • 最近回覆由 feijilei

more options

the regedit of my windows 7 shows that “"C:\Program Files\Mozilla Firefox\firefox.exe" -osint -url "%1"” as my default browser,can I change something in my firefox to set regedit like this .""C:\Program Files\Mozilla Firefox\firefox.exe" -profile 'c:\firefox\user\' -osint -url "%1""

the regedit of my windows 7 shows that “"C:\Program Files\Mozilla Firefox\firefox.exe" -osint -url "%1"” as my default browser,can I change something in my firefox to set regedit like this .""C:\Program Files\Mozilla Firefox\firefox.exe" -profile 'c:\firefox\user\' -osint -url "%1""

所有回覆 (11)

more options

Firefox > Preferences > Advanced > General: System Defaults:

"Always check to see if Firefox is the default browser on startup"
"Make Firefox the default browser"

See:

more options

I have done something you told me,but my firefox start like this "C:\Program Files\Mozilla Firefox\firefox.exe" -osint -url "%1"

I want to start like ""C:\Program Files\Mozilla Firefox\firefox.exe" -profile 'c:\firefox\user\' -osint -url "%1""

more options

You posted with a Mac user agent.

Do you want to make the change on a Windows computer or the the Mac that you posted this with?

more options

On a windows ,I always start firefox with other profile ,so I use "c:\firefox\firefox.exe --no-remote -profile "c:\firefox\user\"" to start my firefox,but,when I set my firefox as my default browser ,when I click a web link,firefox started without my profile dir like "c:\firefox\user\"

more options

You will have to use the Profile Manager to select the default profile an tick the box or edit the profiles.ini file and move the Default=1 line under the correct profile heading.

more options

Is there any other method ? , I use '-profile "c:\firefox\user\"' to start firefox,there is no profiles.ini in my directory.

more options

Is there any other method ?

more options

Hello the profiles.ini file is located inside the "Firefox" folder in the profile folder path .

http://kb.mozillazine.org/Profiles.ini_file

try : %APPDATA%\Mozilla\Firefox\


thank you

由 ideato 於 修改

more options

The OP (thread owner) doesn't want to use a profiles.ini file, but prefers to start Firefox by specifying the absolute location of the profile via the target in the desktop shortcut (-profile "<path>").
In this case Firefox doesn't know which profile to use when you open a file with the default browser and Firefox isn't running yet.
A possibility would be to edit all involved registry keys (e.g. HKEY_CLASSES_ROOT\.html) and add this switch, but that may not last and is difficult to maintain.

more options

cor-el, you are correct, I misunderstood the question, my mistake.

thanks

more options

I use "C:\firefox\firefox.exe" -osint --no-remote -profile "C:\firefox\profile" -url "www.mozilla.org" in my cmd.exe ,but firefox can't start.