This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ค้นหาฝ่ายสนับสนุน

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

เรียนรู้เพิ่มเติม

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

  • 3 การตอบกลับ
  • 5 คนมีปัญหานี้
  • 3 ครั้งที่ดู
  • ตอบกลับล่าสุดโดย 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;