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 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Help with locking firefox down only for student profiles.

  • 2 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 LewisGrimes

more options

Hi guys I have downloaded Mike Kaply's CCK2 wizard and have created a working extension (.inf) file. This sets and locks the following: home page, proxy settings, addon support amongst other things. Now, my biggest problem is how to send out the .inf file to all machines running firefox, but only have the extension affect student profile. For example, in one of our ICT rooms, teachers and students use the machines, i don't want teachers to have as many lockdown systems in place as the students. (On a side note, if anyone can provide a good explanation, i can easily create another extension and switch the solution o only affect teachers hopefully) Many thanks in advance, Lewis

Hi guys I have downloaded Mike Kaply's CCK2 wizard and have created a working extension (.inf) file. This sets and locks the following: home page, proxy settings, addon support amongst other things. Now, my biggest problem is how to send out the .inf file to all machines running firefox, but only have the extension affect student profile. For example, in one of our ICT rooms, teachers and students use the machines, i don't want teachers to have as many lockdown systems in place as the students. (On a side note, if anyone can provide a good explanation, i can easily create another extension and switch the solution o only affect teachers hopefully) Many thanks in advance, Lewis

所有回覆 (2)

more options

Easiest would be to have two Firefox installations in different Firefox program folders and have the students use on with a mozilla.cfg file and the teachers the other. Otherwise you would have to use JavaScript code to exclude the teacher's profile folder. Remember that the mozilla.cfg is run as a JavaScript file and thus can contain JavaScript and isn't interpreted like the prefs.js and use.js files that can only have user_pref() lines.

You can either check the name of the Firefox profile folder or the Windows account via the username environment variable (getenv("USERNAME")).

由 cor-el 於 修改

more options

So create an autoconfig file with the CCK2 rather than using the .inf extension file i already have? And then unzip this into the firefox folder correct? This could then be installed alongside a fresh firefox install, but using ranger i can set one to show for teachers and one for students?