Овај сајт ће имати ограничену функционалност док га будемо ажурирали у циљу побољшања вашег искуства. Ако неки чланак не реши ваш проблем и желите да поставите питање, на располагању ће вам бити наше заједнице подршке @FirefoxSupport на Twitter-у и /r/firefox на Reddit-у.

Претражи подршку

Избегните преваре подршке. Никада од вас нећемо тражити да зовете или шаљете поруке на број или да делите личне податке. Пријавите сумњиве радње преко „Пријавите злоупотребу” опције.

Сазнај више

How to deploy handlers.json file to all new profiles?

  • 2 одговорa
  • 1 има овај проблем
  • 1 преглед
  • Последњи одговор послао Mike Kaply

more options

I edited a handlers.json file for our users that I would like to push out for all new firefox installs. I tried placing this file in the "defaults" folder in my firefox directory, but it doesn't appear to be correctly copying over to any new profile made. If I manually copy the handlers.json file to the new profile folder, I do see the changes reflected.

Where do I need to place this file in order to push it out? I tried <firefox>/defaults, <firefox>/defaults/prefs, <firefox>/browser/defaults and none appeared to work. I did paste my code contents into a linter to verify there were no errors.

Thanks.

I edited a handlers.json file for our users that I would like to push out for all new firefox installs. I tried placing this file in the "defaults" folder in my firefox directory, but it doesn't appear to be correctly copying over to any new profile made. If I manually copy the handlers.json file to the new profile folder, I do see the changes reflected. Where do I need to place this file in order to push it out? I tried <firefox>/defaults, <firefox>/defaults/prefs, <firefox>/browser/defaults and none appeared to work. I did paste my code contents into a linter to verify there were no errors. Thanks.

Изабрано решење

Firefox doesn't support the defaults profile folder. There's no really easy way to do what you're asking. I've written some code that does this but it will only work on ESR starting with Firefox 62.

https://mike.kaply.com/2016/05/24/default-profile-directory-doesnt-work-in-firefox-46/

I'm going to investigate adding handlers support to our policy engine.

Прочитајте овај одговор са објашњењем 👍 1

Сви одговори (2)

more options

Did you try this folder in the Firefox installation folder?

  • browser\defaults\profile
more options

Одабрано решење

Firefox doesn't support the defaults profile folder. There's no really easy way to do what you're asking. I've written some code that does this but it will only work on ESR starting with Firefox 62.

https://mike.kaply.com/2016/05/24/default-profile-directory-doesnt-work-in-firefox-46/

I'm going to investigate adding handlers support to our policy engine.