Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

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

  • 11 réponses
  • 2 ont ce problème
  • 1 vue
  • Dernière réponse par 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""

Toutes les réponses (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

Modifié le par 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.