summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/patches/progress-linux/0003-disable-messages-on-popup.patch26
-rw-r--r--debian/patches/series1
2 files changed, 27 insertions, 0 deletions
diff --git a/debian/patches/progress-linux/0003-disable-messages-on-popup.patch b/debian/patches/progress-linux/0003-disable-messages-on-popup.patch
new file mode 100644
index 0000000..5f17ace
--- /dev/null
+++ b/debian/patches/progress-linux/0003-disable-messages-on-popup.patch
@@ -0,0 +1,26 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Disabling visually cluttering messages on popup menu.
+
+diff -Naurp privacybadger.orig/src/js/popup.js privacybadger/src/js/popup.js
+--- privacybadger.orig/src/js/popup.js
++++ privacybadger/src/js/popup.js
+@@ -123,18 +123,7 @@ function showNagMaybe() {
+ $outer.show();
+ }
+
+- if (POPUP_DATA.showLearningPrompt) {
+- _showLearningPrompt();
+-
+- } else if (!POPUP_DATA.seenComic) {
+- chrome.tabs.query({active: true, currentWindow: true}, function (focusedTab) {
+- // Show the popup instruction if the active tab is not firstRun.html page
+- if (!focusedTab[0].url.startsWith(intro_page_url)) {
+- _showNag();
+- }
+- });
+-
+- } else if (POPUP_DATA.criticalError) {
++ if (POPUP_DATA.criticalError) {
+ _showError(POPUP_DATA.criticalError);
+ }
+ }
diff --git a/debian/patches/series b/debian/patches/series
index e16e551..3e759c8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
progress-linux/0001-disable-first-run-page.patch
progress-linux/0002-pin-to-toolbar.patch
+progress-linux/0003-disable-messages-on-popup.patch