Source code

Revision control

Copy as Markdown

Other Tools

{
"title": "CFRUrlbarChiclet",
"description": "A template with a chiclet button with text.",
"type": "object",
"properties": {
"content": {
"type": "object",
"properties": {
"category": {
"type": "string",
"description": "Attribute used for different groups of messages from the same provider"
},
"layout": {
"type": "string",
"description": "Describes how content should be displayed.",
"enum": ["chiclet_open_url"]
},
"bucket_id": {
"type": "string",
"description": "A bucket identifier for the addon. This is used in order to anonymize telemetry for history-sensitive targeting."
},
"notification_text": {
"description": "The text in the small blue chicklet that appears in the URL bar. This can be a reference to a localized string in Firefox or just a plain string."
},
"active_color": {
"type": "string",
"description": "Background color of the button"
},
"action": {
"type": "object",
"properties": {
"url": {
"description": "The page to open when the button is clicked.",
"type": "string",
"format": "moz-url-format"
},
"where": {
"description": "Should it open in a new tab or the current tab",
"type": "string",
"enum": ["current", "tabshifted"]
}
},
"additionalProperties": true,
"required": ["url", "where"]
}
},
"additionalProperties": true,
"required": [
"layout",
"category",
"bucket_id",
"notification_text",
"action"
]
},
"template": {
"type": "string",
"const": "cfr_urlbar_chiclet"
}
},
"required": ["targeting", "trigger"]
}