summaryrefslogtreecommitdiff
path: root/libre/iceweasel
diff options
context:
space:
mode:
authorgrizzlyuser <grizzlyuser@protonmail.com>2020-04-08 20:24:55 +0300
committerAndreas Grapentin <andreas@grapentin.org>2020-04-13 18:10:26 +0200
commit0696e25acd657429577e9c970caf5d6e158043ec (patch)
tree78db89f5d918729ac9523a85f062d0eddf8cc398 /libre/iceweasel
parent1e6e6bc94e1bdbbd40943538c0d8d5b11891240c (diff)
libre/iceweasel: Disable promo card for nonfree Firefox mobile in NewTab
Show Private Browsing instead Signed-off-by: Andreas Grapentin <andreas@grapentin.org>
Diffstat (limited to 'libre/iceweasel')
-rw-r--r--libre/iceweasel/PKGBUILD4
-rw-r--r--libre/iceweasel/libre.patch22
2 files changed, 24 insertions, 2 deletions
diff --git a/libre/iceweasel/PKGBUILD b/libre/iceweasel/PKGBUILD
index 21c12c4d1..f1c001fa1 100644
--- a/libre/iceweasel/PKGBUILD
+++ b/libre/iceweasel/PKGBUILD
@@ -86,9 +86,9 @@ sha256sums=('bbb1054d8f2717c634480556d3753a8483986af7360e023bb6232df80b746b0f'
'SKIP'
'5f7ac724a5c5afd9322b1e59006f4170ea5354ca1e0e60dab08b7784c2d8463c'
'f573d00835afe066ef1887bfea35099933ee07aeadc4c0d603972127e600cfc4'
- '091b32290e1cbb8597bd31c770f3b850d2cecc0e8ca591bb50956fde67c0a449'
+ 'b64059188836fbb9522d0d0a0d669dfa77c4f075f350554e414bb023afbaea31'
'SKIP'
- 'dcc25e04627842bbd160059f1c576397d688418198a225210fae8a5ea6c32a7a'
+ '3dbdf461f992394ca380700c229a6ce6220a07ba1c7f8475cc2ff39891447e56'
'd783225c311a4d64a9196d573627aeecaf02365395eea9783b1175b7613bdf6e'
'f42b329e96cdf15d09844ca2541d096f56a5ca946f3d94d72dd10e3411fd5e85')
sha256sums_i686=('4da71f6614dce71db8e9ec2d317514aae90838c2c65620d435f0df06b45b578b'
diff --git a/libre/iceweasel/libre.patch b/libre/iceweasel/libre.patch
index 6ac39f8b1..aa74ba3a0 100644
--- a/libre/iceweasel/libre.patch
+++ b/libre/iceweasel/libre.patch
@@ -298,3 +298,25 @@ index edd871b..77870fe 100644
addon-page-options-button =
.title = Tools for all add-ons
+diff --git a/browser/components/newtab/lib/OnboardingMessageProvider.jsm b/browser/components/newtab/lib/OnboardingMessageProvider.jsm
+index 02eb150..abb3af9 100644
+--- a/browser/components/newtab/lib/OnboardingMessageProvider.jsm
++++ b/browser/components/newtab/lib/OnboardingMessageProvider.jsm
+@@ -270,7 +270,7 @@ const ONBOARDING_MESSAGES = () => [
+ action: { type: "OPEN_PRIVATE_BROWSER_WINDOW" },
+ },
+ },
+- targeting: "'dynamic' in trailheadTriplet",
++ targeting: "trailheadTriplet in ['supercharge', 'static'] || 'dynamic' in trailheadTriplet",
+ trigger: { id: "showOnboarding" },
+ },
+ {
+@@ -314,7 +314,7 @@ const ONBOARDING_MESSAGES = () => [
+ },
+ },
+ targeting:
+- "trailheadTriplet in ['supercharge', 'static'] || ('dynamic' in trailheadTriplet && sync.mobileDevices < 1)",
++ "false",
+ trigger: { id: "showOnboarding" },
+ },
+ {