Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

Attempting ExtensionSettings via Extension Managmement GPO - Error 'No text was entered...'

  • 3 件の返信
  • 1 人がこの問題に困っています
  • 13 回表示
  • 最後の返信者: GrumpyGreg

more options

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

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

選ばれた解決策

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.

この回答をすべて読む 👍 0

すべての返信 (3)

more options

選ばれた解決策

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.

この投稿は Mike Kaply により に変更されました

more options

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

more options

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