From e3c595a44783c4cffe3eb0ae1db5620a2c516163 Mon Sep 17 00:00:00 2001 From: ilyaigpetrov Date: Sat, 17 Oct 2020 13:36:29 +0000 Subject: [PATCH] Don't open new tab if no access to private windows. Rephrase --- .../37-sync-pac-script-with-pac-provider-api.tmpl.js | 2 +- .../src/extension-common/_locales/en/messages.tmpl.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/37-sync-pac-script-with-pac-provider-api.tmpl.js b/extensions/chromium/runet-censorship-bypass/src/extension-common/37-sync-pac-script-with-pac-provider-api.tmpl.js index e78519e..9db2838 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/37-sync-pac-script-with-pac-provider-api.tmpl.js +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/37-sync-pac-script-with-pac-provider-api.tmpl.js @@ -106,7 +106,7 @@ if (err) { if (err.message === 'proxy.settings requires private browsing permission.') { - window.utils.openAndFocus('https://rebrand.ly/ac-allow-private-windows'); + // window.utils.openAndFocus('https://rebrand.ly/ac-allow-private-windows'); clarifyThen( chrome.i18n.getMessage('AllowExtensionToRunInPrivateWindows'), cb, diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/_locales/en/messages.tmpl.json b/extensions/chromium/runet-censorship-bypass/src/extension-common/_locales/en/messages.tmpl.json index 890dd8d..0b29668 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/_locales/en/messages.tmpl.json +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/_locales/en/messages.tmpl.json @@ -138,6 +138,6 @@ "message": "Proxying of OWN sites is possible only via OWN proxies. No own proxies found that satisfy your requirements." }, "AllowExtensionToRunInPrivateWindows": { - "message": "For the extension to work it is required to allow it to run in private windows, see howto." + "message": "For the extension to work it is required to allow it to run in private windows, see a HOWTO." } }