Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

Firefox 26 not copying my default userchrome.css?

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

more options

Sup guys

I work at a company and I maintain our customized firefox setup.

We use userchrome.css to lock down the interface, to prevent people from doing stuff they shouldn't.

I upgraded the setup files to Firefox 26, but now it's not copying my defaults anymore!!

So I extract the firefox setup file from the main download website.

in \core\defaults\pref\channel-prefs.js, I reference my lockdown file, which is in \core\mozilla.js

in \core\defaults\profile\chrome, I have userChrome.css and userContent.css, both with my customization

I also have \core\override.ini to prevent the profile migrator from coming up.

Now when I install firefox 26, none of the defaults are copied to the new profiles, so none of the configs are locked down.

If I copy them manually, the lockdown applies. However, it should be copied automatically from the "Defaults" folder, to every new profile. This is not happening anymore.

Any ideas?? It used to work fine until the new version. Was this feature removed or something?

Sup guys I work at a company and I maintain our customized firefox setup. We use userchrome.css to lock down the interface, to prevent people from doing stuff they shouldn't. I upgraded the setup files to Firefox 26, but now it's not copying my defaults anymore!! So I extract the firefox setup file from the main download website. in \core\defaults\pref\channel-prefs.js, I reference my lockdown file, which is in \core\mozilla.js in \core\defaults\profile\chrome, I have userChrome.css and userContent.css, both with my customization I also have \core\override.ini to prevent the profile migrator from coming up. Now when I install firefox 26, none of the defaults are copied to the new profiles, so none of the configs are locked down. If I copy them manually, the lockdown applies. However, it should be copied automatically from the "Defaults" folder, to every new profile. This is not happening anymore. Any ideas?? It used to work fine until the new version. Was this feature removed or something?

所有回覆 (2)

more options

選擇的解決方法

more options

Thank man! That solved it!

I moved the "Defaults" folder into the "browser" subfolder

I had to rename "prefs" to "preferences".

Also I had to move override.ini into the "browser" subfolder.

Now all my lockdowns are applying as expected!

That'll teach me not to search hard enough ;)

Thanks again for the help!