Skip to content

Instantly share code, notes, and snippets.

View MfM-multifeature-infobar-Fx96
{
"appId": "firefox-desktop",
"appName": "firefox_desktop",
"application": "firefox-desktop",
"arguments": {},
"branches": [
{
"feature": {
"enabled": false,
"featureId": "this-is-included-for-desktop-pre-95-support",
View MfM-multifeature
{
"slug": "more-from-mozilla-fx96",
"appId": "firefox-desktop",
"appName": "firefox_desktop",
"channel": "beta",
"endDate": null,
"branches": [
{
"slug": "control",
"ratio": 1,
View user-profile
user_pref("services.settings.server", "https://settings.stage.mozaws.net/v1");
user_pref("security.content.signature.root_hash", "DB:74:CE:58:E4:F9:D0:9E:E0:42:36:BE:6C:C5:C4:F6:6A:E7:74:7D:C0:21:42:7A:03:BC:2F:57:0C:8B:9B:90");
user_pref("dom.push.serverURL", "https://autopush.stage.mozaws.net");
user_pref("services.settings.load_dump", false);
user_pref("messaging-system.log", "debug");
user_pref("browser.aboutwelcome.log", "debug");
//Bonus lines
// The value of this pref should be provided by the Engineering team and it represents a user that would always see a specific branch of the experiment.
user_pref("browser.ping-centre.log", true);
user_pref("app.normandy.user_id", "b4a3dd6a-76c2-4f70-9a04-3adec9983afa");
@punamdahiya
punamdahiya / 93-NEW-ONBOARDING-DEFAULT-JSON
Last active Oct 7, 2021
93-NEW-ONBOARDING-DEFAULT-JSON Screens Array values
View 93-NEW-ONBOARDING-DEFAULT-JSON
{
id: "AW_PIN_FIREFOX",
order: 0,
content: {
title: {
string_id: "mr1-onboarding-pin-header",
},
subtitle: {
string_id: "mr1-welcome-screen-hero-text",
},
View 5-screens-welcome-json
[{ "id": "AW_PIN_AND_DEFAULT", "order": 0, "content": { "title": "Start by making Firefox a click away", "subtitle": "Fire Starts here", "help_text": { "text": "This will pin Firefox ", "position": "default" }, "primary_button": { "label": "Make Firefox My Primary Browser", "action": { "type": "PIN_AND_DEFAULT", "navigate": true, "waitForDefault": true } }, "secondary_button": { "label": { "string_id": "onboarding-multistage-set-default-secondary-button-label" }, "action": { "navigate": true } } } }, { "id": "AW_IMPORT_SETTINGS", "order": 1, "content": { "tiles": { "type": "topsites", "showTitles": true }, "title": { "string_id": "onboarding-multistage-import-header" }, "subtitle": { "string_id": "onboarding-multistage-import-subtitle" }, "help_text": { "text": { "string_id": "onboarding-import-sites-disclaimer" } }, "primary_button": { "label": { "string_id": "onboarding-multistage-import-primary-button-label" }, "action": { "type": "SHOW_MIGRATION_WIZARD", "navigate": true } }, "secondary_button": { "label"
View aboutwelcome-off-bug-1705131-remote-defaults
{
"schema": 1619015997099,
"description": "Use the pre-MR1 design",
"configurations": [
{
"slug": "aboutwelcome-off-bug-1705131",
"enabled": true,
"targeting": "[ctx.userId, \"aboutwelcome-off-bug-1705131\"]|bucketSample(0, 1000, 10000) && (ctx.channel == 'beta' || ctx.channel == 'default') && ctx.version|versionCompare('89.!') >= 0",
"variables": {
"isProton": false
View screens-treatment-b
[{ "id": "AW_PIN_AND_DEFAULT", "order": 0, "content": { "title": "Start by making Firefox a click away", "subtitle": { "string_id": "onboarding-multistage-set-default-subtitle" }, "help_text": { "text": "This will pin Firefox to taskbar and open settings", "position": "default" }, "primary_button": { "label": "Make Firefox My Primary Browser", "action": { "type": "PIN_AND_DEFAULT", "navigate": true, "waitForDefault": true } }, "secondary_button": { "label": { "string_id": "onboarding-multistage-set-default-secondary-button-label" }, "action": { "navigate": true } }, "waiting_for_default": { "tiles": { "type": "image", "source": { "default": "chrome://activity-stream/content/data/content/assets/remote/windows-default-browser.gif" }, "media_type": "tiles-delayed" }, "subtitle": "Choose Firefox under Web browser when your settings open", "help_text": null, "primary_button": null }, "secondary_button_top": { "text": { "string_id": "onboarding-multistage-welcome-secondary-button-text" }, "label": { "string_id": "
View PIN_TO_TASKBAR_C
{
"template": "multistage",
"screens": [{
"id": "AW_PIN_AND_DEFAULT",
"order": 0,
"content": {
"title": "Start by making Firefox a click away",
"subtitle": "Fast, safe, and private browsing every time you use the web.",
"help_text": {
"position": "default",
View firstrun-test-mac
Scenario #2 for new profile on MacOS via terminal and using Stage RS
Navigate to about:profiles, create a new Firefox Profile and click respective ‘Show in Finder’ to open profile folder.
Place a user.js file containing the Stage RS server user prefs configuration given below in the folder.
user_pref("services.settings.server", "https://settings.stage.mozaws.net/v1");
user_pref("security.content.signature.root_hash", "DB:74:CE:58:E4:F9:D0:9E:E0:42:36:BE:6C:C5:C4:F6:6A:E7:74:7D:C0:21:42:7A:03:BC:2F:57:0C:8B:9B:90");
user_pref("dom.push.serverURL", "https://autopush.stage.mozaws.net");
View multistage-screen-purpose-json
{
"template": "multistage",
"screens": [{
"purpose": "get_started",
"content": {
"title": {
"string_id": "onboarding-welcome-header"
},
"subtitle": "The fast, safe, and private browser that's backed by a non-profit.",
"primary_button": {