string
Use this policy type if you want to set a policy to an arbitrary text value.
Example JSON output
{
"policies": {
"DownloadDirectory": "${home}\\Downloads"
}
}Example screenshot

Example implementation
DownloadDirectory : {
first_available : { mainstream : '68.0', esr : '68.0' },
ui_category : 'others',
type : 'string',
label : browser.i18n.getMessage('policy_description_DownloadDirectory_Label'),
mandatory : true
}Mandatory properties
label
The value of this property is used as placeholder text of the input field.

Optional properties
mandatory
If set to true a validation is added to check that the input field is not empty.

Last updated