From 34c0e746f51f4017cb80ed43893758cf56a24f31 Mon Sep 17 00:00:00 2001 From: LinuxMercedes Date: Wed, 11 Mar 2015 22:21:40 -0500 Subject: [PATCH] Add an option to not show the proxy redirection notification --- .../preferences/preferences_firefox.xul | 2 + .../zotero/preferences/preferences_proxies.js | 6 ++- chrome/content/zotero/xpcom/proxy.js | 45 +++++++++++++------ chrome/locale/en-US/zotero/preferences.dtd | 1 + chrome/locale/en-US/zotero/zotero.properties | 1 + defaults/preferences/zotero.js | 1 + 6 files changed, 42 insertions(+), 14 deletions(-) diff --git a/chrome/content/zotero/preferences/preferences_firefox.xul b/chrome/content/zotero/preferences/preferences_firefox.xul index 07dc62428..1a5c1ee50 100644 --- a/chrome/content/zotero/preferences/preferences_firefox.xul +++ b/chrome/content/zotero/preferences/preferences_firefox.xul @@ -50,6 +50,8 @@ + + diff --git a/chrome/locale/en-US/zotero/zotero.properties b/chrome/locale/en-US/zotero/zotero.properties index a70b08835..39d41187f 100644 --- a/chrome/locale/en-US/zotero/zotero.properties +++ b/chrome/locale/en-US/zotero/zotero.properties @@ -55,6 +55,7 @@ general.numMore = %S more… general.openPreferences = Open Preferences general.keys.ctrlShift = Ctrl+Shift+ general.keys.cmdShift = Cmd+Shift+ +general.dontShowAgain = Don’t Show Again general.operationInProgress = A Zotero operation is currently in progress. general.operationInProgress.waitUntilFinished = Please wait until it has finished. diff --git a/defaults/preferences/zotero.js b/defaults/preferences/zotero.js index 7f513c5ed..c49ee66df 100644 --- a/defaults/preferences/zotero.js +++ b/defaults/preferences/zotero.js @@ -154,6 +154,7 @@ pref("extensions.zotero.proxies.autoRecognize", true); pref("extensions.zotero.proxies.transparent", true); pref("extensions.zotero.proxies.disableByDomain", false); pref("extensions.zotero.proxies.disableByDomainString", ".edu"); +pref("extensions.zotero.proxies.showRedirectNotification", true); // Data layer purging pref("extensions.zotero.purge.creators", false);