diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 18:50:24 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 18:50:24 +0000 |
commit | 11f97ebf96e22ad64e621d8d1b61defe3180fff4 (patch) | |
tree | 06fdc7f2f2eaa8003a2ef18dd2fd41077c1f9ab3 /debian/patches | |
parent | Adding upstream version 7.5.1+dfsg. (diff) | |
download | foxyproxy-firefox-extension-11f97ebf96e22ad64e621d8d1b61defe3180fff4.tar.xz foxyproxy-firefox-extension-11f97ebf96e22ad64e621d8d1b61defe3180fff4.zip |
Adding debian version 7.5.1+dfsg-3.debian/7.5.1+dfsg-3debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/debian/0001-disable-first-run-page.patch | 31 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 32 insertions, 0 deletions
diff --git a/debian/patches/debian/0001-disable-first-run-page.patch b/debian/patches/debian/0001-disable-first-run-page.patch new file mode 100644 index 0000000..d259a81 --- /dev/null +++ b/debian/patches/debian/0001-disable-first-run-page.patch @@ -0,0 +1,31 @@ +Author: Daniel Baumann <daniel.baumann@progress-linux.org> +Description: Silencing first run/update page. + +diff -Naurp foxyproxy-firefox-extension.orig/src/scripts/background.js foxyproxy-firefox-extension/src/scripts/background.js +--- foxyproxy-firefox-extension.orig/src/scripts/background.js 2020-07-29 20:43:31.000000000 +0200 ++++ foxyproxy-firefox-extension/src/scripts/background.js 2021-03-13 17:58:11.959638800 +0100 +@@ -49,17 +49,6 @@ chrome.webRequest.onAuthRequired.addList + chrome.webRequest.onCompleted.addListener(clearPending, {urls: ['*://*/*']});
+ chrome.webRequest.onErrorOccurred.addListener(clearPending, {urls: ['*://*/*']});
+
+-chrome.runtime.onInstalled.addListener((details) => { // Installs Update Listener
+- // reason: install | update | browser_update | shared_module_update
+- switch (true) {
+-
+- case details.reason === 'install':
+- case details.reason === 'update' && /^(3\.|4\.|5\.5|5\.6)/.test(details.previousVersion):
+- chrome.tabs.create({url: '/about.html?welcome'});
+- break;
+- }
+-});
+-
+ // ----------------- User Preference -----------------------
+ chrome.storage.local.get(null, result => {
+ // browserVersion is not used & runtime.getBrowserInfo() is not supported on Chrome
+@@ -272,4 +261,4 @@ function clearPending(request) { + }
+
+ delete authPending[request.requestId]; // no error
+-} +\ No newline at end of file ++}
diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..9aa7e39 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +debian/0001-disable-first-run-page.patch |