Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

Mozilla サポートの検索

サポート詐欺に注意してください。 私たちはあなたに通話やショートメッセージの送信、個人情報の共有を求めることはありません。疑わしい行為を見つけたら「迷惑行為を報告」からご報告ください。

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

Firefox isn't reading autofig.js on MacOS

  • 7 件の返信
  • 1 人がこの問題に困っています
  • 34 回表示
  • 最後の返信者: cdykstra

more options

autofig.js: // Firefox settings pref(“general.config.filename”, ”firefox.cfg”); pref("general.config.obscure_value", 0);

================================

firefox.cfg: // Put in /Applications/Firefox.app/Contents/Resources/defaults/pref // V-15775 lockPref("signon.prefillForms", false);

================================

After startup, signon.prefillForms is true, and it appears it's not being read.

autofig.js: // Firefox settings pref(“general.config.filename”, ”firefox.cfg”); pref("general.config.obscure_value", 0); ============================================ firefox.cfg: // Put in /Applications/Firefox.app/Contents/Resources/defaults/pref // V-15775 lockPref("signon.prefillForms", false); ============================================ After startup, signon.prefillForms is true, and it appears it's not being read.

選ばれた解決策

All quotes need to be normal quotes, so you need to change them all.

autoconfig.js: // Firefox settings pref("general.config.filename", "firefox.cfg"); pref("general.config.obscure_value", 0);

Same here where you also posted wrong quotes: // NetOps Firefox STIG fixes pref("general.config.filename", "firefox.cfg"); pref("general.config.obscure_value", 0);

The TLS prefs have Integer value and thus shouldn't have enclosing quotes.

lockPref("security.tls.version.min", 2);
lockPref("security.tls.version.max", 3);

I don't think this pref still exists in current Firefox releases and also has a '?' instead of quotes. // V-15772 lockPref(?plugin.disable_full_page_plugin_for_types?

The autoconfig.cfg file is run as JavaScript and any error in the file throws an exception and aborts the execution. So maybe check the Browser Console for error messages.

この回答をすべて読む 👍 0

すべての返信 (7)

more options

Make sure the files are in the correct location. The autoconfig.js file needs to be in:

  • /Applications/Firefox.app/Contents/Resources/defaults/pref

The autoconfig.cfg file needs to be in:

  • /Applications/Firefox.app/Contents/Resources
more options

I do have those files in correct path, but still doesn't read them.

more options

I just noticed that you have the wrong quotes (“ and not ") in the line that sets the config file.

  • pref(“general.config.filename”, ”firefox.cfg”);
more options

Thank you for the suggestions, but it still doesn't seem to read the config file:

// NetOps Firefox STIG fixes pref(“general.config.filename”, “firefox.cfg”); pref(“general.config.obscure_value”, 0);

more options

It reads autoconfig.js file, but not the firefox.cfg:

// Put in /Applications/Firefox.app/Contents/Resources

// V-15768 lockPref("security.default_personal_cert", "Ask Every Time");

// V-15771 lockPref("network.protocol-handler.external.shell", false);

// V-15772 lockPref(?plugin.disable_full_page_plugin_for_types?, ?application/pdf,application/fdf,application/xfdf,application/lsl,application/lso,application/lss,application/iqy,application/rqy,application/xlk,application/xls,application/xlt,application/pot,application/pps,application/ppt,application/dos,application/dot,application/wks,application/bat,application/ps,application/eps,application/wch,application/wcm,application/wb1,application/wb3,application/rtf,application/doc,application/mdb,application/mde,application/ad,application/,application/adp?);

// V-15774 lockPref("browser.formfill.enable", false);

// V-15775 lockPref("signon.prefillForms", false);

// V-15776 lockPref("signon.rememberSignons", false);

// V-15777 lockPref("places.history.enabled", true);

// V-15778 lockPref("dom.disable_window_open_feature.status", true);

// V-15779 lockPref("dom.disable_window_move_resize", true);

// V-15983 lockPref("security.enable_tls", true); lockPref("security.tls.version.min", "2"); lockPref("security.tls.version.max", "3");

// V-15985 lockPref("dom.disable_window_flip", true);

// V-15986 lockPref("dom.event.contextmenu.enabled", false);

// V-15987 lockPref("dom.disable_window_status_change", true);

// V-15988 lockPref("dom.disable_window_open_feature.status", true);

// V-15989 lockPref("security.warn_leaving_secure", true);

// V-19741 lockPref("app.update.enable", true);

// V-19742 lockPref("extensions.update.enabled", false);

// V-19744 lockPref("browser.search.update", false);

// V-64891 lockPref("xpinstall.enabled", false);

// V-79053 lockPref("datareporting.policy.dataSubmissionEnabled", false);

more options

選ばれた解決策

All quotes need to be normal quotes, so you need to change them all.

autoconfig.js: // Firefox settings pref("general.config.filename", "firefox.cfg"); pref("general.config.obscure_value", 0);

Same here where you also posted wrong quotes: // NetOps Firefox STIG fixes pref("general.config.filename", "firefox.cfg"); pref("general.config.obscure_value", 0);

The TLS prefs have Integer value and thus shouldn't have enclosing quotes.

lockPref("security.tls.version.min", 2);
lockPref("security.tls.version.max", 3);

I don't think this pref still exists in current Firefox releases and also has a '?' instead of quotes. // V-15772 lockPref(?plugin.disable_full_page_plugin_for_types?

The autoconfig.cfg file is run as JavaScript and any error in the file throws an exception and aborts the execution. So maybe check the Browser Console for error messages.

more options

Thank you so much for your help! It's working now. Once I removed //V-15772, and quotes around integer value it worked.

lockPref("security.tls.version.min", 2); lockPref("security.tls.version.max", 3);