diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 19:48:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 19:48:30 +0000 |
commit | b0ccd0b3ede86803d1f22f2c98004d9a6426feb7 (patch) | |
tree | 2b0549a2a68b4d7bee2f3ac4a1af1deb888452b1 | |
parent | Updating vcs fields. (diff) | |
download | privacybadger-b0ccd0b3ede86803d1f22f2c98004d9a6426feb7.tar.xz privacybadger-b0ccd0b3ede86803d1f22f2c98004d9a6426feb7.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.patch | 17 | ||||
-rw-r--r-- | debian/patches/series | 1 |
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 |