summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:00:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:00:09 +0000
commitd5c294f47fe0c10129ad5d52dea101bcccc82418 (patch)
tree1d6d6e1eba0ed7e4df9cf0c449c2c71dc6eb0e3a
parentUpdating vcs fields. (diff)
downloadprivacybadger-d5c294f47fe0c10129ad5d52dea101bcccc82418.tar.xz
privacybadger-d5c294f47fe0c10129ad5d52dea101bcccc82418.zip
Disabling first run page.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/patches/progress-linux/0001-disable-first-run-page.patch17
-rw-r--r--debian/patches/series1
2 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/progress-linux/0001-disable-first-run-page.patch b/debian/patches/progress-linux/0001-disable-first-run-page.patch
new file mode 100644
index 0000000..bb0f548
--- /dev/null
+++ b/debian/patches/progress-linux/0001-disable-first-run-page.patch
@@ -0,0 +1,17 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Disabling first run page.
+
+diff -Naurp privacybadger.orig/src/js/background.js privacybadger/src/js/background.js
+--- privacybadger.orig/src/js/background.js
++++ privacybadger/src/js/background.js
+@@ -125,10 +125,6 @@ function Badger() {
+ });
+ // set up periodic fetching of hashes from eff.org
+ setInterval(self.updateDntPolicyHashes.bind(self), utils.oneDay() * 4);
+-
+- if (self.isFirstRun) {
+- self.showFirstRunPage();
+- }
+ });
+
+ /**
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..4d8707a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+progress-linux/0001-disable-first-run-page.patch