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
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
|
diff --git a/browser/components/newtab/content-src/components/Base/Base.jsx b/browser/components/newtab/content-src/components/Base/Base.jsx
index d554a8943c..bfac8b6edf 100644
--- a/browser/components/newtab/content-src/components/Base/Base.jsx
+++ b/browser/components/newtab/content-src/components/Base/Base.jsx
@@ -156,12 +156,26 @@ export class BaseContent extends React.PureComponent {
return (
<div>
+ LOGO HERE
+ <div id='iceweasel-logo-div'
+ style="background: url('../../../data/content/assets/iceweasel_logo.svg') bottom center no-repeat ;">
+ </div>
+ <div id='iceweasel-logo-div2'
+ style="background: url('#{$image-path}iceweasel_logo.svg') bottom center no-repeat ;">
+ </div>
+ BANNER HERE
+ <div id='iceweasel-logo-div3'
+ style="background: url('../../../data/content/assets/parabola-banner.png') bottom center no-repeat ;">
+ </div>
+ <div id='iceweasel-logo-div4'
+ style="background: url('#{$image-path}parabola-banner.png') bottom center no-repeat ;">
+ </div>
<div className={outerClassName}>
<main>
{prefs.showSearch &&
<div className="non-collapsible-section">
<ErrorBoundary>
- <Search showLogo={noSectionsEnabled} handoffEnabled={searchHandoffEnabled} {...props.Search} />
+ <Search showLogo=false handoffEnabled={searchHandoffEnabled} {...props.Search} />
</ErrorBoundary>
</div>
}
diff --git a/browser/components/newtab/css/activity-stream-linux.css b/browser/components/newtab/css/activity-stream-linux.css
index 34bbf49fc7..b124294b4e 100644
--- a/browser/components/newtab/css/activity-stream-linux.css
+++ b/browser/components/newtab/css/activity-stream-linux.css
@@ -253,7 +253,7 @@ body,
body {
background-color: var(--newtab-background-color);
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Ubuntu', 'Helvetica Neue', sans-serif;
+ font-family: sans-serif;
font-size: 16px;
overflow-y: scroll; }
@@ -1715,7 +1715,7 @@ main {
width: 1%;
white-space: nowrap; }
.asrouter-admin table.minimal-table td:not(:first-child) {
- font-family: "SF Mono", "Monaco", "Inconsolata", "Fira Mono", "Droid Sans Mono", "Source Code Pro", monospace; }
+ font-family: monospace; }
.asrouter-admin table.errorReporting tr {
border: 1px solid var(--newtab-textbox-background-color); }
.asrouter-admin table.errorReporting td {
@@ -1753,7 +1753,7 @@ main {
.asrouter-admin .message-item.blocked .message-id {
opacity: 0.5; }
.asrouter-admin .message-item .message-id {
- font-family: "SF Mono", "Monaco", "Inconsolata", "Fira Mono", "Droid Sans Mono", "Source Code Pro", monospace;
+ font-family: monospace;
font-size: 12px; }
.asrouter-admin .providerUrl {
font-size: 12px; }
@@ -1764,7 +1764,7 @@ main {
font-size: 12px;
max-width: 750px;
overflow: auto;
- font-family: "SF Mono", "Monaco", "Inconsolata", "Fira Mono", "Droid Sans Mono", "Source Code Pro", monospace; }
+ font-family: monospace; }
.asrouter-admin .errorState {
border: 1px solid #D70022; }
.asrouter-admin .helpLink {
diff --git a/browser/components/newtab/css/activity-stream-mac.css b/browser/components/newtab/css/activity-stream-mac.css
index 0fae889d0a..3baabba2d0 100644
--- a/browser/components/newtab/css/activity-stream-mac.css
+++ b/browser/components/newtab/css/activity-stream-mac.css
@@ -256,7 +256,7 @@ body,
body {
background-color: var(--newtab-background-color);
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Ubuntu', 'Helvetica Neue', sans-serif;
+ font-family: sans-serif;
font-size: 16px;
overflow-y: scroll; }
@@ -1718,7 +1718,7 @@ main {
width: 1%;
white-space: nowrap; }
.asrouter-admin table.minimal-table td:not(:first-child) {
- font-family: "SF Mono", "Monaco", "Inconsolata", "Fira Mono", "Droid Sans Mono", "Source Code Pro", monospace; }
+ font-family: monospace; }
.asrouter-admin table.errorReporting tr {
border: 1px solid var(--newtab-textbox-background-color); }
.asrouter-admin table.errorReporting td {
@@ -1756,7 +1756,7 @@ main {
.asrouter-admin .message-item.blocked .message-id {
opacity: 0.5; }
.asrouter-admin .message-item .message-id {
- font-family: "SF Mono", "Monaco", "Inconsolata", "Fira Mono", "Droid Sans Mono", "Source Code Pro", monospace;
+ font-family: monospace;
font-size: 12px; }
.asrouter-admin .providerUrl {
font-size: 12px; }
@@ -1767,7 +1767,7 @@ main {
font-size: 12px;
max-width: 750px;
overflow: auto;
- font-family: "SF Mono", "Monaco", "Inconsolata", "Fira Mono", "Droid Sans Mono", "Source Code Pro", monospace; }
+ font-family: monospace; }
.asrouter-admin .errorState {
border: 1px solid #D70022; }
.asrouter-admin .helpLink {
diff --git a/browser/components/newtab/css/activity-stream-windows.css b/browser/components/newtab/css/activity-stream-windows.css
index 64e792542d..1e65a7b5d7 100644
--- a/browser/components/newtab/css/activity-stream-windows.css
+++ b/browser/components/newtab/css/activity-stream-windows.css
@@ -253,7 +253,7 @@ body,
body {
background-color: var(--newtab-background-color);
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Ubuntu', 'Helvetica Neue', sans-serif;
+ font-family: sans-serif;
font-size: 16px;
overflow-y: scroll; }
@@ -1715,7 +1715,7 @@ main {
width: 1%;
white-space: nowrap; }
.asrouter-admin table.minimal-table td:not(:first-child) {
- font-family: "SF Mono", "Monaco", "Inconsolata", "Fira Mono", "Droid Sans Mono", "Source Code Pro", monospace; }
+ font-family: monospace; }
.asrouter-admin table.errorReporting tr {
border: 1px solid var(--newtab-textbox-background-color); }
.asrouter-admin table.errorReporting td {
@@ -1753,7 +1753,7 @@ main {
.asrouter-admin .message-item.blocked .message-id {
opacity: 0.5; }
.asrouter-admin .message-item .message-id {
- font-family: "SF Mono", "Monaco", "Inconsolata", "Fira Mono", "Droid Sans Mono", "Source Code Pro", monospace;
+ font-family: monospace;
font-size: 12px; }
.asrouter-admin .providerUrl {
font-size: 12px; }
@@ -1764,7 +1764,7 @@ main {
font-size: 12px;
max-width: 750px;
overflow: auto;
- font-family: "SF Mono", "Monaco", "Inconsolata", "Fira Mono", "Droid Sans Mono", "Source Code Pro", monospace; }
+ font-family: monospace; }
.asrouter-admin .errorState {
border: 1px solid #D70022; }
.asrouter-admin .helpLink {
diff --git a/browser/components/newtab/lib/ActivityStream.jsm b/browser/components/newtab/lib/ActivityStream.jsm
index a039e7d799..a1db618557 100644
--- a/browser/components/newtab/lib/ActivityStream.jsm
+++ b/browser/components/newtab/lib/ActivityStream.jsm
@@ -29,17 +29,7 @@ const {HighlightsFeed} = ChromeUtils.import("resource://activity-stream/lib/High
const {ASRouterFeed} = ChromeUtils.import("resource://activity-stream/lib/ASRouterFeed.jsm");
const {DiscoveryStreamFeed} = ChromeUtils.import("resource://activity-stream/lib/DiscoveryStreamFeed.jsm");
-const DEFAULT_SITES = new Map([
- // This first item is the global list fallback for any unexpected geos
- ["", "https://www.youtube.com/,https://www.facebook.com/,https://www.wikipedia.org/,https://www.reddit.com/,https://www.amazon.com/,https://twitter.com/"],
- ["US", "https://www.youtube.com/,https://www.facebook.com/,https://www.amazon.com/,https://www.reddit.com/,https://www.wikipedia.org/,https://twitter.com/"],
- ["CA", "https://www.youtube.com/,https://www.facebook.com/,https://www.reddit.com/,https://www.wikipedia.org/,https://www.amazon.ca/,https://twitter.com/"],
- ["DE", "https://www.youtube.com/,https://www.facebook.com/,https://www.amazon.de/,https://www.ebay.de/,https://www.wikipedia.org/,https://www.reddit.com/"],
- ["PL", "https://www.youtube.com/,https://www.facebook.com/,https://allegro.pl/,https://www.wikipedia.org/,https://www.olx.pl/,https://www.wykop.pl/"],
- ["RU", "https://vk.com/,https://www.youtube.com/,https://ok.ru/,https://www.avito.ru/,https://www.aliexpress.com/,https://www.wikipedia.org/"],
- ["GB", "https://www.youtube.com/,https://www.facebook.com/,https://www.reddit.com/,https://www.amazon.co.uk/,https://www.bbc.co.uk/,https://www.ebay.co.uk/"],
- ["FR", "https://www.youtube.com/,https://www.facebook.com/,https://www.wikipedia.org/,https://www.amazon.fr/,https://www.leboncoin.fr/,https://twitter.com/"],
-]);
+const DEFAULT_SITES = new Map([[""]]);
const GEO_PREF = "browser.search.region";
const SPOCS_GEOS = ["US"];
const IS_NIGHTLY_OR_UNBRANDED_BUILD = ["nightly", "default"].includes(UpdateUtils.getUpdateChannel(true));
@@ -65,10 +55,10 @@ const PREFS_CONFIG = new Map([
hidden: !PREFS_CONFIG.get("feeds.section.topstories").getValue(args),
provider_icon: "pocket",
provider_name: "Pocket",
- read_more_endpoint: "https://getpocket.com/explore/trending?src=fx_new_tab",
- stories_endpoint: `https://getpocket.cdn.mozilla.net/v3/firefox/global-recs?version=3&consumer_key=$apiKey&locale_lang=${args.locale}&feed_variant=${showSpocs(args) ? "default_spocs_on" : "default_spocs_off"}`,
- stories_referrer: "https://getpocket.com/recommendations",
- topics_endpoint: `https://getpocket.cdn.mozilla.net/v3/firefox/trending-topics?version=2&consumer_key=$apiKey&locale_lang=${args.locale}`,
+ read_more_endpoint: "",
+ stories_endpoint: "",
+ stories_referrer: "",
+ topics_endpoint: "",
model_keys: ["nmf_model_animals", "nmf_model_business", "nmf_model_career", "nmf_model_datascience", "nmf_model_design", "nmf_model_education", "nmf_model_entertainment", "nmf_model_environment", "nmf_model_fashion", "nmf_model_finance", "nmf_model_food", "nmf_model_health", "nmf_model_home", "nmf_model_life", "nmf_model_marketing", "nmf_model_politics", "nmf_model_programming", "nmf_model_science", "nmf_model_shopping", "nmf_model_sports", "nmf_model_tech", "nmf_model_travel", "nb_model_animals", "nb_model_books", "nb_model_business", "nb_model_career", "nb_model_datascience", "nb_model_design", "nb_model_economics", "nb_model_education", "nb_model_entertainment", "nb_model_environment", "nb_model_fashion", "nb_model_finance", "nb_model_food", "nb_model_game", "nb_model_health", "nb_model_history", "nb_model_home", "nb_model_life", "nb_model_marketing", "nb_model_military", "nb_model_philosophy", "nb_model_photography", "nb_model_politics", "nb_model_productivity", "nb_model_programming", "nb_model_psychology", "nb_model_science", "nb_model_shopping", "nb_model_society", "nb_model_space", "nb_model_sports", "nb_model_tech", "nb_model_travel", "nb_model_writing"],
show_spocs: showSpocs(args),
personalized: true,
@@ -77,7 +67,7 @@ const PREFS_CONFIG = new Map([
}],
["showSponsored", {
title: "Show sponsored cards in spoc experiment (show_spocs in topstories.options has to be set to true as well)",
- value: true,
+ value: false,
}],
["pocketCta", {
title: "Pocket cta and button for logged out users.",
@@ -102,7 +92,7 @@ const PREFS_CONFIG = new Map([
}],
["feeds.snippets", {
title: "Show snippets on activity stream",
- value: true,
+ value: false,
}],
["topSitesRows", {
title: "Number of rows of Top Sites to display",
@@ -110,7 +100,7 @@ const PREFS_CONFIG = new Map([
}],
["telemetry", {
title: "Enable system error and usage data collection",
- value: true,
+ value: false,
value_local_dev: false,
}],
["telemetry.ut.events", {
@@ -129,7 +119,7 @@ const PREFS_CONFIG = new Map([
}],
["telemetry.ping.endpoint", {
title: "Telemetry server endpoint",
- value: "https://tiles.services.mozilla.com/v4/links/activity-stream",
+ value: ""
}],
["section.highlights.includeVisited", {
title: "Boolean flag that decides whether or not to show visited pages in highlights.",
@@ -141,7 +131,7 @@ const PREFS_CONFIG = new Map([
}],
["section.highlights.includePocket", {
title: "Boolean flag that decides whether or not to show saved Pocket stories in highlights.",
- value: true,
+ value: false,
}],
["section.highlights.includeDownloads", {
title: "Boolean flag that decides whether or not to show saved recent Downloads in highlights.",
@@ -307,7 +297,7 @@ const FEEDS_DATA = [
"CA": ["en-CA", "en-GB", "en-US", "en-ZA"],
"DE": ["de", "de-DE", "de-AT", "de-CH"],
})[geo];
- return !!locales && locales.includes(locale);
+ return false;
},
},
{
@@ -320,7 +310,7 @@ const FEEDS_DATA = [
name: "telemetry",
factory: () => new TelemetryFeed(),
title: "Relays telemetry-related actions to PingCentre",
- value: true,
+ value: false,
},
{
name: "favicon",
@@ -338,13 +328,13 @@ const FEEDS_DATA = [
name: "asrouterfeed",
factory: () => new ASRouterFeed(),
title: "Handles AS Router messages, such as snippets and onboaridng",
- value: true,
+ value: false,
},
{
name: "discoverystreamfeed",
factory: () => new DiscoveryStreamFeed(),
title: "Handles new pocket ui for the new tab page",
- value: true,
+ value: false,
},
];
|