This "feature" phones home to show ads in the new tab page. Patch
courtesy of Debian.
---
community/firefox/APKBUILD | 7 +++++--
community/firefox/disable-topstories.patch | 15 +++++++++++++++
2 files changed, 20 insertions(+), 2 deletions(-)
create mode 100644 community/firefox/disable-topstories.patch
diff --git a/community/firefox/APKBUILD b/community/firefox/APKBUILD
index 79ceead383..3f82965848 100644
--- a/community/firefox/APKBUILD
@@ -5,7 +5,7 @@ pkgname=firefox
pkgver=85.0.2
# Date of release, YY-MM-DD for metainfo file (see package())
_releasedate=2021-02-09
-pkgrel=0
+pkgrel=1
pkgdesc="Firefox web browser"
url="https://www.firefox.com/"
# Limited on:
@@ -82,6 +82,8 @@ source="https://ftp.mozilla.org/pub/firefox/releases/$pkgver/source/firefox-$pkg
avoid-redefinition.patch
fix-rust-1.50-build.patch
+
+ disable-topstories.patch
"
subpackages="$pkgname-npapi"
@@ -433,4 +435,5 @@ f963fcdba7307a0b1712dfb95ceba4ab49f449f60e550bb69d15d50272e6df9add90862251ee561e
db26757b2ebf9f567962e32294b4ae48b3a5d0378a7589dfe650fe3a179ff58befbab5082981c68e1c25fb9e56b2db1e4e510d4bca17c3e3aedbf9a2f21806eb sandbox-sched_setscheduler.patch
b7d0a6126bdf6c0569f80aabf5b37ed2c7a35712eb8a0404a2d85381552f5555d4f97d213ea26cec6a45dc2785f22439376ed5f8e78b4fd664ef0223307b333e sandbox-largefile.patch
b1cb2db3122634f66d2bae7066e76f2dcd455c464e021db4de3b0a08314df95cb667846081682db549dd2af8a00831cabe44a2420c66cdfb5e3b5fa7e6bd21d3 avoid-redefinition.patch
-82ab4acd3a91828f5b6b62cfbb464c3d4887913c3522b4381e08eaf96a5da6e9e35a97a584500cfae84f397a190d0c8e4523b97837a2fce2f13d71abbcf5b1e1 fix-rust-1.50-build.patch"
+82ab4acd3a91828f5b6b62cfbb464c3d4887913c3522b4381e08eaf96a5da6e9e35a97a584500cfae84f397a190d0c8e4523b97837a2fce2f13d71abbcf5b1e1 fix-rust-1.50-build.patch
+dc82cc5d723b624dd7a90c042e8316159ae4ea4aef31ed82a33a6ca282932cf28cdc01682590ff19d3336e27fc93153fba9b6212affb11bdd6c418fabd896d3a disable-topstories.patch"
diff --git a/community/firefox/disable-topstories.patch b/community/firefox/disable-topstories.patch
new file mode 100644
index 0000000000..15a351741d
--- /dev/null
@@ -0,0 +1,15 @@
+Description: Disable Pocket Recommendations
+Author: Taowa <taowa@debian.org>
+Last-Update: 2021-03-20
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- a/browser/app/profile/firefox.js
++++ b/browser/app/profile/firefox.js
+@@ -2528,3 +2528,6 @@
+ pref("app.normandy.test-prefs.integer", 0);
+ pref("app.normandy.test-prefs.string", "");
+ #endif
++
++// Disable Pocket Recommendations
++pref("browser.newtabpage.activity-stream.feeds.system.topstories", false);
--
2.31.0