搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

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

  • 3 个回答
  • 1 人有此问题
  • 51 次查看
  • 最后回复者为 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