We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Mozilla 도움말 검색

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

자세히 살펴보기

With 250+ machines on our school network, is there a way to turn on "clear history when firefox closes" (cache setting only) by modifying a registry key or file?

  • 3 답장
  • 1 이 문제를 만남
  • 3 보기
  • 최종 답변자: tech@school

more options

I need a way to turn ON the clearing of the cache programatically within a logon script. Kids are not clearing the cache and the roaming profiles on the Windows XP and Windows 7 machines are getting way too big to be moved across the network on every logon and logoff. Otherwise we will have to remove Firefox, which I do not want to do, nor do most of the people in the school :)

I need a way to turn ON the clearing of the cache programatically within a logon script. Kids are not clearing the cache and the roaming profiles on the Windows XP and Windows 7 machines are getting way too big to be moved across the network on every logon and logoff. Otherwise we will have to remove Firefox, which I do not want to do, nor do most of the people in the school :)

모든 댓글 (3)

more options

There have been some threads here about large-scale deployment, but I don't know whether they would help after Firefox has been installed.

Random thought:

I suspect (but haven't checked) that changing the "Clear Recent History" options would add corresponding entries to prefs.js in the user's profile folder. (These usually are added during Firefox shut-down.) That's just a plain text file and you could append to it by a variety of means.

It might be possible to use a VBScript during logon to update that file before the user starts Firefox. The script would have to detect the random folder name(s) in order to make the update.

more options

You can do that via a mozilla.cfg file and either set a new default value or lock the pref if you do not want them to change the setting.

You can use these functions in mozilla.cfg:

defaultPref();  // set new default value
pref(); // set pref, but allow changes
lockPref();  // lock pref, disallow changes

See:


//
lockPref("privacy.sanitize.sanitizeOnShutdown", true);
lockPref("privacy.clearOnShutdown.cache", true);

글쓴이 cor-el 수정일시

more options

I will try these things on Wednesday and let you know how it worked out. Thanks!!!

Steve