From ae930da8b3c47ed85cca081012ea39013e95364f Mon Sep 17 00:00:00 2001 From: ilyaigpetrov Date: Fri, 5 May 2023 00:07:37 +0500 Subject: [PATCH] Get rid of rebrand.ly everywhere in the code --- .github/FUNDING.yml | 2 +- README.md | 4 ++-- .../src/extension-common/11-error-handlers-api.js | 2 +- .../src/extension-common/35-pac-kitchen-api.js | 6 +++--- .../37-sync-pac-script-with-pac-provider-api.tmpl.js | 8 ++++---- .../src/extension-common/_locales/en/messages.tmpl.json | 2 +- .../src/extension-common/_locales/ru/messages.tmpl.json | 2 +- .../pages/options/src/components/Footer.js | 2 +- .../pages/options/src/components/PacChooser.js | 4 ++-- .../pages/options/src/components/ProxyEditor.js | 2 +- 10 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index e6ea55e..6d191c1 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -9,4 +9,4 @@ community_bridge: # Replace with a single Community Bridge project-name e.g., cl liberapay: # Replace with a single Liberapay username issuehunt: # Replace with a single IssueHunt username otechie: # Replace with a single Otechie username -custom: https://rebrand.ly/ac-donate +custom: https://github.com/anticensority/runet-censorship-bypass/wiki/Поддержать diff --git a/README.md b/README.md index 2a19453..11dcc35 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ If you __unstar__, please, [leave us a note](https://github.com/anticensority/runet-censorship-bypass/issues) why you do so. [d1]: https://img.shields.io/badge/Поддержать-❤-green.svg -[d2]: https://rebrand.ly/ac-donate +[d2]: https://github.com/anticensority/runet-censorship-bypass/wiki/Поддержать [![Поддержать][d1]][d2] [![Backers on Open Collective](https://opencollective.com/anticensority/backers/badge.svg)](#backers) @@ -29,7 +29,7 @@ This extension uses pac scripts, one of which (anticensority) is generated by th ## Why I do This -See [my arguments against censorship (ru)](https://rebrand.ly/ac-arguments) +See [my arguments against censorship (ru)](https://github.com/anticensority/runet-censorship-bypass/wiki/Почему-мы-это-делаем%3F-Аргументы-против-цензуры) Looking at how Russian government [distorts TV](https://therussianreader.wordpress.com/2015/11/22/russian-truckers-strike-dagestan/) and blocks [critics of Putin](https://www.reuters.com/article/us-russia-internet-idUSBREA2C21L20140313), I decided to write an anticensorship extension for Chromium before they strike me first. diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/11-error-handlers-api.js b/extensions/chromium/runet-censorship-bypass/src/extension-common/11-error-handlers-api.js index e180ca9..2b0277c 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/11-error-handlers-api.js +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/11-error-handlers-api.js @@ -67,7 +67,7 @@ const json = JSON.stringify(errors, errorJsonReplacer, 0); window.utils.openAndFocus( - 'https://rebrand.ly/ac-error/?json=' + encodeURIComponent(json) + + 'https://anticensority.github.io/error/?json=' + encodeURIComponent(json) + (type ? '&type=' + encodeURIComponent(type) : '') + '&version=' + chrome.runtime.getManifest().version + '&useragent=' + encodeURIComponent(navigator.userAgent) + diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/35-pac-kitchen-api.js b/extensions/chromium/runet-censorship-bypass/src/extension-common/35-pac-kitchen-api.js index 47aa1fe..35137c7 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/35-pac-kitchen-api.js +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/35-pac-kitchen-api.js @@ -101,7 +101,7 @@ dflt: false, category: 'ownProxies', label: 'использовать СВОЙ локальный Tor', - desc: 'Установите Tor на свой компьютер и используйте его как прокси-сервер. ВАЖНО.', + desc: 'Установите Tor на свой компьютер и используйте его как прокси-сервер. ВАЖНО.', order: 5, }, ifUseLocalWarp: { @@ -137,7 +137,7 @@ dflt: '', category: 'ownProxies', label: 'использовать СВОИ прокси', - url: 'https://rebrand.ly/ac-own-proxy', + url: 'https://github.com/anticensority/runet-censorship-bypass/wiki/Свои-прокси-в-расширении', order: 7, }, ifUseOwnProxiesOnlyForOwnSites: { @@ -160,7 +160,7 @@ dflt: false, category: 'ownProxies', label: 'подменять DIRECT на', - desc: 'Использовать в PAC-скрипте указанную строку для запросов напрямую (вместо директивы DIRECT). Данная строка не проверяется на требования к шифрованию связи до прокси! Строка должна соответствовать формату возвращаемого значения PAC-скрипта, который подобен формату своих прокси.', + desc: 'Использовать в PAC-скрипте указанную строку для запросов напрямую (вместо директивы DIRECT). Данная строка не проверяется на требования к шифрованию связи до прокси! Строка должна соответствовать формату возвращаемого значения PAC-скрипта, который подобен формату своих прокси.', order: 9, }, 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 0e98d46..dc7beab 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 @@ -266,12 +266,12 @@ ? \`Основной PAC-скрипт от автора проекта «Антизапрет». Охватывет меньше сайтов. Блокировка определяется по доменному имени и при необходимости по IP. -
Сравнение PAC-скриптов. +
Сравнение PAC-скриптов. \` : \`The main PAC-script from the author of project "Antizapret"\. Covers fewer sites. Block is detected based on a domain name and, if necessary, on an IP. -
Comparison of PAC-scripts (ru). +
Comparison of PAC-scripts (ru). \`, order: 0, pacUrls: [ @@ -289,13 +289,13 @@ Охватывает больше сайтов. Блокировка определятся по доменному имени или IP адресу. Подходит для провайдеров, блокирующих все сайты на одном IP. -
Сравнение PAC-скриптов. +
Сравнение PAC-скриптов. \` : \`Alternative PAC-script from the author of this extension. Covers more sites. Block is detected based on a domain name and on an IP address. Better fits providers that block all sites on one IP. -
Comparison of PAC-scripts (ru). +
Comparison of PAC-scripts (ru). \`, order: 1, 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 5565d7a..ae5a9fa 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 a HOWTO." + "message": "For the extension to work it is required to allow it to run in private windows, see a HOWTO." } } diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/_locales/ru/messages.tmpl.json b/extensions/chromium/runet-censorship-bypass/src/extension-common/_locales/ru/messages.tmpl.json index 7648a63..f46b968 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/_locales/ru/messages.tmpl.json +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/_locales/ru/messages.tmpl.json @@ -138,6 +138,6 @@ "message": "Проксировать СВОИ сайты можно только при наличии СВОИХ прокси. Нет своих прокси, удовлетворяющих вашим требованиям." }, "AllowExtensionToRunInPrivateWindows": { - "message": "Для работы расширения необходимо разрешить запуск в приватных окнах, см. инструкции." + "message": "Для работы расширения необходимо разрешить запуск в приватных окнах, см. инструкции." } } diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/Footer.js b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/Footer.js index 51dee19..c7bff79 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/Footer.js +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/Footer.js @@ -27,7 +27,7 @@ export default function getFooter(theState) {