jscher2000 / Content-Type-Fixer-extension

Firefox extension to override dumb Content-Type headers with correct values
Mozilla Public License 2.0
23 stars 2 forks source link

Configure before first launch #12

Open Shep5555 opened 2 years ago

Shep5555 commented 2 years ago

Hi,

I'm using Firefox in kiosk mode with your addon. Is there any way to change the parameters located in trueCT and oPrefs (in the background.js) before the first launch of firefox with Content-type fixer installed ?

Thanks for your help to mozilla's community.

Best regards.

jscher2000 commented 2 years ago

Hmm, due to restrictions on disk access, background.js cannot automatically read an external settings file during initialization.

The Group Policy feature can modify extension data, but I haven't implemented that yet -- I just discovered it a moment ago:

I can look into that next month.

How should I try to resolve conflicts? For your needs, the user probably shouldn't be able to override/customize the managed settings, but for the more typical situation, managed settings could serve as a baseline that users are allowed to override.

Is there any way for an extension to detect that Firefox is running in kiosk mode? I posted the question here: https://discourse.mozilla.org/t/possible-to-detect-that-firefox-is-running-in-kiosk-mode/89385