Skip to content

Instantly share code, notes, and snippets.

@punamdahiya
Created January 29, 2024 23:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save punamdahiya/a5c1be40c2ca8011ab473e770a55f647 to your computer and use it in GitHub Desktop.
Save punamdahiya/a5c1be40c2ca8011ab473e770a55f647 to your computer and use it in GitHub Desktop.
Above-Button-Content-Link
{
"id": "UPGRADE_PIN_FIREFOX",
"content": {
"position": "split",
"split_narrow_bkg_position": "-155px",
"image_alt_text": {
"string_id": "mr2022-onboarding-pin-image-alt"
},
"progress_bar": "true",
"background": "url('chrome://activity-stream/content/data/content/assets/mr-pintaskbar.svg') var(--mr-secondary-position) no-repeat var(--mr-screen-background-color)",
"logo": {},
"title": {
"string_id": "mr2022-onboarding-existing-pin-header"
},
"subtitle": {
"raw": "Launch a healthier internet from anywhere with a single click. ",
"marginBlock": "0 -25px"
},
"above_button_content": [
{
"type": "text",
"text": {
"raw": "Terms And. "
},
"link_keys": ["privacy_policy"],
"font_styles": "legal",
"type": "link",
"height": "72px",
"marginInline": "-250px 0"
}
],
"privacy_policy": {
"action": {
"type": "OPEN_URL",
"data": {
"args": "https://www.mozilla.org/privacy/firefox?utm_source=review-checker&utm_campaign=privacy-policy&utm_medium=in-product&utm_term=opt-in-screen",
"where": "tab"
}
}
},
"tiles": {
"type": "multiselect",
"style": {
"marginBlock": "5px 15px"
},
"data": [
{
"id": "checkbox-1",
"defaultValue": true,
"label": {
"string_id": "mr2022-onboarding-easy-setup-set-default-checkbox-label"
},
"checkedAction": {
"type": "PIN_FIREFOX_TO_TASKBAR"
}
},
{
"id": "checkbox-2",
"defaultValue": true,
"label": {
"string_id": "mr2022-onboarding-easy-setup-import-checkbox-label"
},
"checkedAction": {
"type": "MULTI_ACTION",
"data": {
"actions": [
{
"type": "SET_PREF",
"data": {
"pref": {
"name": "easyImport",
"value": true
}
}
},
{
"type": "SHOW_MIGRATION_WIZARD",
"data": {}
}
]
}
},
"uncheckedAction": {
"type": "SET_PREF",
"data": {
"pref": {
"name": "easyImport",
"value": false
}
}
}
}
]
},
"primary_button": {
"label": {
"string_id": "mr2022-onboarding-easy-setup-primary-button-label"
},
"action": {
"type": "MULTI_ACTION",
"collectSelect": true,
"isDynamic": true,
"navigate": true,
"data": {
"actions": []
}
}
},
"secondary_button": {
"label": {
"string_id": "mr2022-onboarding-secondary-skip-button-label"
},
"action": {
"navigate": true
},
"has_arrow_icon": true
}
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment