본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

lockprefs for firefox 6 mac

  • 4 답장
  • 6 이 문제를 만남
  • 11 보기
  • 최종 답변자: u0012754

more options

we need as a university to lock some prefs on lab machines have made the following files in /Applications/Firefox.app/Contents/MacOS/ firefox.cfg

// Keywords are case sensitive - get them wrong and firefox
// will whinge about a config error and not load.
//
// pref		: user can override for current session
// defaultPref  : user can override permanently
// lockPref     : user can't change

// set home page - this doesn't work very well as a default so
// we use ./browserconfig.properties to set instead
//defaultPref("browser.startup.page", 1);
//defaultPref("browser.startup.homepage", "http://ourhomepage/");

// disable firefox welcome page on 1st run or upgrades
lockPref("browser.startup.homepage_override.mstone", "ignore");

// tabs
defaultPref("browser.tabs.warnOnClose", false);
defaultPref("browser.tabs.autoHide", false)

// downloads
defaultPref("browser.download.useDownloadDir", false);


// disable the proxy settings
lockPref("network.proxy.type", 0);

// security
lockPref("xpinstall.whitelist.required", true);

// cache size
lockPref("browser.cache.disk.capacity", 5000);

// flush cache on exit
lockPref("privacy.sanitize.sanitizeOnShutdown", true);
lockPref("privacy.sanitize.promptOnSanitize", false);
lockPref("privacy.item.cache", true);
pref("privacy.item.history", false);
pref("privacy.item.downloads", false);
pref("privacy.item.formdata", false);
pref("privacy.item.cookies", false);
pref("privacy.item.passwords", false);
pref("privacy.item.sessions", false);


// disable updates
lockPref("app.update.enabled", false);
lockPref("extensions.update.enabled", false);
lockPref("browser.search.update", false);

// disable anti-phishing/malware (NH20101103)
// workaround the crap google database download
// that creams the nfs homespace server
lockPref("browser.safebrowsing.enabled", false);
lockPref("browser.safebrowsing.malware.enabled", false);


and a browser config

browserconfig.properties > ^^v????browser.startup.homepage=http://ourhomepage

browser.startup.homepage_reset=http://ourhomepage

and also created dir greprefs with

_config.js

pref("general.config.obscure_value", 0);
pref("general.config.filename", "firefox.cfg");
we need as a university to lock some prefs on lab machines have made the following files in /Applications/Firefox.app/Contents/MacOS/ firefox.cfg <pre><nowiki>// Keywords are case sensitive - get them wrong and firefox // will whinge about a config error and not load. // // pref : user can override for current session // defaultPref : user can override permanently // lockPref : user can't change // set home page - this doesn't work very well as a default so // we use ./browserconfig.properties to set instead //defaultPref("browser.startup.page", 1); //defaultPref("browser.startup.homepage", "http://ourhomepage/"); // disable firefox welcome page on 1st run or upgrades lockPref("browser.startup.homepage_override.mstone", "ignore"); // tabs defaultPref("browser.tabs.warnOnClose", false); defaultPref("browser.tabs.autoHide", false) // downloads defaultPref("browser.download.useDownloadDir", false); // disable the proxy settings lockPref("network.proxy.type", 0); // security lockPref("xpinstall.whitelist.required", true); // cache size lockPref("browser.cache.disk.capacity", 5000); // flush cache on exit lockPref("privacy.sanitize.sanitizeOnShutdown", true); lockPref("privacy.sanitize.promptOnSanitize", false); lockPref("privacy.item.cache", true); pref("privacy.item.history", false); pref("privacy.item.downloads", false); pref("privacy.item.formdata", false); pref("privacy.item.cookies", false); pref("privacy.item.passwords", false); pref("privacy.item.sessions", false); // disable updates lockPref("app.update.enabled", false); lockPref("extensions.update.enabled", false); lockPref("browser.search.update", false); // disable anti-phishing/malware (NH20101103) // workaround the crap google database download // that creams the nfs homespace server lockPref("browser.safebrowsing.enabled", false); lockPref("browser.safebrowsing.malware.enabled", false);</nowiki></pre> and a browser config browserconfig.properties > ^^v????browser.startup.homepage=http://ourhomepage browser.startup.homepage_reset=http://ourhomepage and also created dir greprefs with _config.js<br /> pref("general.config.obscure_value", 0); pref("general.config.filename", "firefox.cfg");

글쓴이 cor-el 수정일시

선택된 해결법

If it isn't working then place the file _config.js in the default/prefs folder where you also find channel-prefs.js

문맥에 따라 이 답변을 읽어주세요 👍 2

모든 댓글 (4)

more options

선택된 해결법

If it isn't working then place the file _config.js in the default/prefs folder where you also find channel-prefs.js

more options

thanks

글쓴이 u0012754 수정일시

more options

/Applications/Firefox.app/Contents/MacOS/defaults/pref/

글쓴이 u0012754 수정일시

more options

lockprefs now works THANKS