Skip to content

Instantly share code, notes, and snippets.

@rhelmer
Last active June 2, 2020 04:24
Show Gist options
  • Save rhelmer/b2b5fc9a6bd1ff0ef50635cbe9f5c5db to your computer and use it in GitHub Desktop.
Save rhelmer/b2b5fc9a6bd1ff0ef50635cbe9f5c5db to your computer and use it in GitHub Desktop.
{
"messages": [
{
"content": {
"text": "Donate your data to science with <link0>Firefox Pioneer</link0>",
"icon": "https://snippets.cdn.mozilla.net/media/icons/1a8bb10e-8166-4e14-9e41-c1f85a41bcd2.png",
"button_label": "Button Label",
"section_title_icon": "https://snippets.cdn.mozilla.net/media/icons/5878847e-a1fb-4204-aad9-09f6cf7f99ee.png",
"section_title_text": "Messages from Firefox",
"section_title_url": "https://support.mozilla.org/kb/snippets-firefox-faq?utm_source=desktop-snippet&utm_medium=snippet&utm_campaign=&utm_term=&utm_content=",
"tall": false,
"block_button_text": "Remove this",
"do_not_autoblock": true,
"links": {
"link0": {
"action": "OPEN_ABOUT_PAGE",
"args": "pioneer"
}
},
"button_action": "OPEN_ABOUT_PAGE",
"button_action_args": "pioneer"
},
"campaign": "Pioneer new tab",
"template_version": "1.0.0",
"id": "8555",
"template": "fxa_signup_snippet",
"provider_url": "https://snippets.cdn.mozilla.net/us-west/bundles/bundle_d6d90fb9098ce8b45e60acf601bcb91b68322309.json",
"provider": "snippets"
},
{
"weight": 100,
"content": {
"icon": "chrome://browser/skin/notification-icons/block-cryptominer.svg",
"text": {
"string_id": "cfr-doorhanger-cryptominers-description"
},
"layout": "icon_and_message",
"buttons": {
"primary": {
"event": "PROTECTION",
"label": {
"string_id": "cfr-doorhanger-socialtracking-ok-button"
},
"action": {
"type": "OPEN_PROTECTION_PANEL"
}
},
"secondary": [
{
"event": "BLOCK",
"label": {
"string_id": "cfr-doorhanger-socialtracking-close-button"
}
},
{
"event": "BLOCK",
"label": {
"string_id": "cfr-doorhanger-socialtracking-dont-show-again"
},
"action": {
"type": "DISABLE_STP_DOORHANGERS"
}
}
]
},
"category": "cfrFeatures",
"anchor_id": "tracking-protection-icon-box",
"bucket_id": "CFR_CRYPTOMINERS_PROTECTION",
"info_icon": {
"label": {
"string_id": "cfr-doorhanger-extension-sumo-link"
},
"sumo_path": "extensionrecommendations"
},
"learn_more": "cryptominers-report",
"heading_text": {
"string_id": "cfr-doorhanger-cryptominers-heading"
},
"icon_dark_theme": "chrome://browser/skin/notification-icons/block-cryptominer-dark.svg",
"notification_text": "",
"skip_address_bar_notifier": true
},
"trigger": {
"id": "openURL",
"params": ["mozilla.org"]
},
"priority": 3,
"template": "cfr_doorhanger",
"frequency": {
"custom": [
{
"cap": 1,
"period": 172800000
}
],
"lifetime": 2
},
"targeting": "pageLoad >= 4",
"id": "CRYPTOMINERS_PROTECTION",
"last_modified": 1581523408218,
"groups": ["cfr"],
"provider": "cfr"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment