1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
|
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/**
* This file is generated by browser/components/asrouter/bin/import-rollouts.js
* Run the following from the repository root to regenerate it:
* ./mach npm run import-rollouts --prefix=browser/components/asrouter
*/
export const NimbusRolloutMessageProvider = {
getMessages() {
return [
{
// Nimbus slug: fox-doodle-set-to-default-early-day-user-de-fr-it-treatment-a-rollout:treatment-a
// Version range: 116+
// Recipe: https://experimenter.services.mozilla.com/nimbus/fox-doodle-set-to-default-early-day-user-de-fr-it-treatment-a-rollout/summary#treatment-a
id: "fox-doodle-set-to-default-early-day-user-de-fr-it:A",
groups: ["eco"],
content: {
id: "fox-doodle-set-to-default-early-day-user-de-fr-it:A",
screens: [
{
id: "SET_DEFAULT",
content: {
logo: {
height: "140px",
imageURL:
"https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/05f5265b-d1e4-4fe1-9a46-0ea36f8afced.png",
reducedMotionImageURL:
"https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/05f5265b-d1e4-4fe1-9a46-0ea36f8afced.png",
},
title: {
raw: {
$l10n: {
id: "fox-doodle-trackers-title",
text: "Keep pesky trackers off your tail",
comment:
"This title is displayed together with the picture of a running fox with a long tail. In English, this is a figure of speech meaning 'stop something from following you'. If the localization of this message is challenging, consider using a simplified alternative as a reference for translation: 'Keep unwanted trackers away'.",
},
},
fontSize: "22px",
fontWeight: 590,
paddingBlock: "4px 0",
letterSpacing: 0,
paddingInline: "24px",
},
subtitle: {
raw: {
$l10n: {
id: "fox-doodle-trackers-subtitle",
text: "Say goodbye to annoying ad trackers and settle into a safer, speedy internet experience.",
comment: "",
},
},
fontSize: "15px",
lineHeight: "1.4",
marginBlock: "8px 16px",
letterSpacing: 0,
paddingInline: "24px",
},
dismiss_button: {
action: {
navigate: true,
},
},
primary_button: {
label: {
raw: {
$l10n: {
id: "fox-doodle-set-default-driving-primary-button-label",
text: "Open my links with Firefox",
comment: "",
},
},
marginBlock: "4px 0",
paddingBlock: "0",
paddingInline: "16px",
},
action: {
type: "SET_DEFAULT_BROWSER",
navigate: true,
},
},
secondary_button: {
label: {
raw: {
$l10n: {
id: "fox-doodle-driving-secondary-button-label",
text: "Not now",
comment: "",
},
},
marginBlock: "0 -20px",
},
action: {
navigate: true,
},
},
},
},
],
backdrop: "transparent",
template: "multistage",
transitions: true,
},
trigger: {
id: "defaultBrowserCheck",
},
priority: 1,
template: "spotlight",
frequency: {
lifetime: 1,
},
targeting:
"source == 'startup' && !willShowDefaultPrompt && !isMajorUpgrade && !activeNotifications && (((currentDate|date) - (profileAgeCreated|date)) / 3600000 >= 6) && !isDefaultBrowser",
},
{
// Nimbus slug: fox-doodle-set-to-default-early-day-user-en-treatment-a-rollout:treatment-a
// Version range: 116+
// Recipe: https://experimenter.services.mozilla.com/nimbus/fox-doodle-set-to-default-early-day-user-en-treatment-a-rollout/summary#treatment-a
id: "fox-doodle-set-to-default-early-day-user:A",
groups: ["eco"],
content: {
id: "fox-doodle-set-to-default-early-day-user:A",
screens: [
{
id: "SET_DEFAULT",
content: {
logo: {
height: "140px",
imageURL:
"https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/05f5265b-d1e4-4fe1-9a46-0ea36f8afced.png",
reducedMotionImageURL:
"https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/05f5265b-d1e4-4fe1-9a46-0ea36f8afced.png",
},
title: {
raw: "Keep pesky trackers off your tail",
fontSize: "22px",
fontWeight: 590,
paddingBlock: "4px 0",
letterSpacing: 0,
paddingInline: "24px",
},
subtitle: {
raw: "Say goodbye to annoying ad trackers and settle into a safer, speedy internet experience.",
fontSize: "15px",
lineHeight: "1.4",
marginBlock: "8px 16px",
letterSpacing: 0,
paddingInline: "24px",
},
dismiss_button: {
action: {
navigate: true,
},
},
primary_button: {
label: {
raw: "Open my links with Firefox",
marginBlock: "4px 0",
paddingBlock: "0",
paddingInline: "16px",
},
action: {
type: "SET_DEFAULT_BROWSER",
navigate: true,
},
},
secondary_button: {
label: {
raw: "Not now",
marginBlock: "0 -20px",
},
action: {
navigate: true,
},
},
},
},
],
backdrop: "transparent",
template: "multistage",
transitions: true,
},
trigger: {
id: "defaultBrowserCheck",
},
priority: 1,
template: "spotlight",
frequency: {
lifetime: 1,
},
targeting:
"source == 'startup' && !willShowDefaultPrompt && !isMajorUpgrade && !activeNotifications && (((currentDate|date) - (profileAgeCreated|date)) / 3600000 >= 6) && !isDefaultBrowser",
},
];
},
};
|