1
0
Fork 0

Disabling visually cluttering messages on popup menu.

Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
This commit is contained in:
Daniel Baumann 2025-06-22 23:01:03 +02:00
parent 56eda4fe43
commit 6200f08174
Signed by: daniel.baumann
GPG key ID: BCC918A2ABD66424
2 changed files with 27 additions and 0 deletions

View file

@ -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);
}
}

View file

@ -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