搜尋 Mozilla 技術支援網站

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

Learn More

Firefox 26 not copying my default userchrome.css?

  • 2 回覆
  • 1 有這個問題
  • 10 次檢視
  • 最近回覆由 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!