Attempting ExtensionSettings via Extension Managmement GPO - Error 'No text was entered...'
Hi, I'm trying to create a Windows GPO to control Addons/Extensions in our FireFox installations.
From the doc I've read, the place is Policies|Administrative Templates|Mozilla|Firefox|Extensions Policy is "Extension Management"
I set it to enabled and include this text: {
"*": { "blocked_install_message": "My Custom Test Message", "installation_mode": "blocked" }
}
When I hit apply, I get this error message: "No text was entered for this field. Make sure that you enter text."
If I put nothing (but still enabled) or "A" or A, then it accepts that. It's when I plop in the JSON that it fails.
What am I doing wrong?
I have ESR 91.0.1 and policy 3.0 installed. I do not have Firefox installed on the machine doing the GPO work, that's currently only on the test machine. I do have the policy definitions installed.
-g
Chosen solution
You probably have an empty line in the JSON at the end or somewhere in the middle.
the GPO Editor is very finicky.
Every line has to have text.
Read this answer in context 👍 0All Replies (3)
Chosen Solution
You probably have an empty line in the JSON at the end or somewhere in the middle.
the GPO Editor is very finicky.
Every line has to have text.
Modified
WooHoo! I knew it had to be something simple. The cut-n-paste did indeed add a blank line or two. I removed them and it took!
Thanks! -g
Yep, after fixing another typo, that went in.
The about:policies page shows it this way: ExtensionSettings {"*":{"blocked_install_message":"My Custom Test Message","installation_mode":"blocked"}}
I'll be able to get back to my regularly scheduled programming :)
Thanks Mike! -g