Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

How can I install Firefox12 silently

  • 3 trả lời
  • 5 gặp vấn đề này
  • 7 lượt xem
  • Trả lời mới nhất được viết bởi firefoxpackager

more options

I can get the install to run via the -ms switch, but I need to copy the prefs.js file over to the randomly generated "C:\Users\xxxxx\AppData\Roaming\Mozilla\Firefox\Profiles\xxxxxx.default" folder. Is there an easier way or do I have to figure out how to specify a wildcard in the command line to make the file copy to whatever the folder name is?

I can get the install to run via the -ms switch, but I need to copy the prefs.js file over to the randomly generated "C:\Users\xxxxx\AppData\Roaming\Mozilla\Firefox\Profiles\xxxxxx.default" folder. Is there an easier way or do I have to figure out how to specify a wildcard in the command line to make the file copy to whatever the folder name is?

Tất cả các câu trả lời (3)

more options

Hello firefoxpackager,

I am sorry to hear that you are experiencing issues with the Firefox updating process and would like to apologize for the long waiting time.

You can edit your Firefox update configurations by following the instructions in the [configure updates] support article. If you need to backup your profile, follow the instructions in the backing up your information support article, and refer to the backup bookmarks to backup and restore your bookmarks.

Thank you for your valuable time and your great patience. Please let me know how it goes and mark this answer as solution if you found it helpful.

more options

Another way is to use a mozilla.cfg file in the Firefox program folder to lock prefs or specify default values.

Place a file local-settings.js in the defaults\pref folder where you also find the file channel-prefs.js to specify using mozilla.cfg.

pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0); // use this to disable the byte-shift

See:

You can use these functions in mozilla.cfg:

defaultPref();  // set new default value
pref();         // set pref, but allow changes in current session
lockPref();     // lock pref, disallow changes
more options

Thanks for the responses. I ended up going the Mozilla.cfg route but now I can't find a list of settings I can add to the file. Is there an easy way I can use everything in my Prefs.js file in my Mozilla.cfg file?