为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Version 46.0 does not use \Mozilla Firefox\browser\defaults\profile

  • 3 个回答
  • 5 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

In Version 45.0.2 it was possible to copy a modified cert8.db file into the following folder: C:\Program Files (x86)\Mozilla Firefox\browser\defaults\profile

And when a new user starts Firefox for the first time, the cert8.db file gets copied in his user profile. In 46.0 it does not work anymore.

Did the folder change or is this a bug in 46.0?

In Version 45.0.2 it was possible to copy a modified cert8.db file into the following folder: C:\Program Files (x86)\Mozilla Firefox\browser\defaults\profile And when a new user starts Firefox for the first time, the cert8.db file gets copied in his user profile. In 46.0 it does not work anymore. Did the folder change or is this a bug in 46.0?

所有回复 (3)

more options

Apparently support for this folder has been removed, see:

  • bug 1234012 - Figure out what to do about the default profile
  • bug 1235099 - Remove the NS_APP_BOOKMARKS_50_FILE directory service key

Please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html


more options

Wow thats bad. But is there another solution? I need this. I Must give a modified cert8.db to new profiles.

more options

I don't know if CCK2 is able to provide this feature already.

Note that you can use a mozilla.cfg file to run privileged JavaScript code and copy the file to a profile. Once this is done you probably need to create a special pref to remember this. I don't know how this would work with a new profile.


//
var {classes:Cc,interfaces:Ci,utils:Cu} = Components;
Cu.import("resource://gre/modules/Services.jsm");
var profD = Services.dirsvc.get("ProfD", Ci.nsILocalFile).path;