+
+The code for this web extension is available on Github.
+
+★ Donate: 👨🏻💻
+If you like this extension and are financially able please consider buying me a coffee ☕️ to show your appreciation and support the continuation of the project.
+
+★ What's New in This Version (`VERSION_NUMBER`) 🆕
+
+
`VERSION_DESCRIPTION`
+
+
+★ Permissions: ℹ️
+
+
Please note, access to all website navigation events ( all URLs), not just the target domains, is required toallow embedded video redirects to occur. At this time I know of no other way to achieve iframe redirects, happy to hear some suggestions on this though 🙂
+
\ No newline at end of file
diff --git a/_locales/fr/store.md b/_locales/fr/store.md
new file mode 100644
index 00000000..cec781e2
--- /dev/null
+++ b/_locales/fr/store.md
@@ -0,0 +1,34 @@
+# Extension Store (AMO & Chrome Web Store) Listing
+
+## Summary:
+
+Redirige les requêtes les demandes Twitter, YouTube, Instagram et Google Maps vers des alternatives respectueuses de la vie privée. pour Twitter, YouTube, Instagram et Google Maps vers des alternatives respectueuses de la vie privée.
+
+## Description:
+
+Redirige les requètes pour Twitter, YouTube, Instagram et Google Maps vers des alternatives respectueuses de la confidentialité - Nitter, Invidious, Bibliogram, & OpenStreetMap.
+
+Permet de définir des instances personnalisées et d'activer ou désactiver toutes les redirections.
+
+★ Plus d'informations: ℹ️
+
+
+Le code de cette extension Web est disponible sur Github.
+
+★ Faire un don: 👨🏻💻
+Si vous aimez ce module complémentaire et si vous avez une bonne situation financière, pensez à m'acheter un café ☕️ pour montrer que vous appréciez et soutenez la poursuite du projet.
+
+★ Nouveautés de cette version (`VERSION_NUMBER`) 🆕
+
+
`VERSION_DESCRIPTION`
+
+
+★ Autorisations: ℹ️
+
+
Veuillez noter que l'accès à tous les événements de navigation sur le site Web (toutes les adresses URL), et pas seulement aux domaines cibles, est requis pour permettre aux redirections vidéo intégrées de se faire correctement. Pour le moment, je ne connais aucun autre moyen de réaliser des redirections iframe, je serais heureux d'entendre quelques suggestions à ce sujet cependant 🙂
+
\ No newline at end of file
diff --git a/_locales/ru/store.md b/_locales/ru/store.md
new file mode 100644
index 00000000..fbeedd24
--- /dev/null
+++ b/_locales/ru/store.md
@@ -0,0 +1,34 @@
+# Extension Store (AMO & Chrome Web Store) Listing
+
+## Summary:
+
+A simple web extension that redirects Twitter, YouTube, Instagram & Google Maps requests to privacy friendly alternatives.
+
+## Description:
+
+Redirects Twitter, YouTube, Instagram, & Google Maps requests to privacy friendly alternatives - Nitter, Invidious, Bibliogram, & OpenStreetMap.
+
+Allows for setting custom instances, toggling all redirects on/off and more.
+
+★ More Info: ℹ️
+
+
+The code for this web extension is available on Github.
+
+★ Donate: 👨🏻💻
+If you like this extension and are financially able please consider buying me a coffee ☕️ to show your appreciation and support the continuation of the project.
+
+★ What's New in This Version (`VERSION_NUMBER`) 🆕
+
+
`VERSION_DESCRIPTION`
+
+
+★ Permissions: ℹ️
+
+
Please note, access to all website navigation events ( all URLs), not just the target domains, is required toallow embedded video redirects to occur. At this time I know of no other way to achieve iframe redirects, happy to hear some suggestions on this though 🙂
+
\ No newline at end of file
--
cgit 1.4.1
From 4a3c3ff02b73e32e9f4ca599b0667b17ffb1df01 Mon Sep 17 00:00:00 2001
From: SimonBrazell
Date: Tue, 14 Jul 2020 11:52:18 +1000
Subject: Add version number and description to store.md
---
_locales/en/store.md | 5 +++--
_locales/fr/store.md | 5 +++--
_locales/ru/store.md | 5 +++--
3 files changed, 9 insertions(+), 6 deletions(-)
(limited to '_locales/ru')
diff --git a/_locales/en/store.md b/_locales/en/store.md
index fbeedd24..3ba5844d 100644
--- a/_locales/en/store.md
+++ b/_locales/en/store.md
@@ -23,9 +23,10 @@ The code for this web extension is available on buying me a coffee ☕️ to show your appreciation and support the continuation of the project.
-★ What's New in This Version (`VERSION_NUMBER`) 🆕
+★ What's New in This Version (v1.1.36) 🆕
-
`VERSION_DESCRIPTION`
+
Added Russian language translation.
+
Fix Invidious autoplay parameter.
★ Permissions: ℹ️
diff --git a/_locales/fr/store.md b/_locales/fr/store.md
index cec781e2..edb4085e 100644
--- a/_locales/fr/store.md
+++ b/_locales/fr/store.md
@@ -23,9 +23,10 @@ Le code de cette extension Web est disponible sur m'acheter un café ☕️ pour montrer que vous appréciez et soutenez la poursuite du projet.
-★ Nouveautés de cette version (`VERSION_NUMBER`) 🆕
+★ What's New in This Version (v1.1.36) 🆕
-
`VERSION_DESCRIPTION`
+
Added Russian language translation.
+
Fix Invidious autoplay parameter.
★ Autorisations: ℹ️
diff --git a/_locales/ru/store.md b/_locales/ru/store.md
index fbeedd24..3ba5844d 100644
--- a/_locales/ru/store.md
+++ b/_locales/ru/store.md
@@ -23,9 +23,10 @@ The code for this web extension is available on buying me a coffee ☕️ to show your appreciation and support the continuation of the project.
-★ What's New in This Version (`VERSION_NUMBER`) 🆕
+★ What's New in This Version (v1.1.36) 🆕
-
`VERSION_DESCRIPTION`
+
Added Russian language translation.
+
Fix Invidious autoplay parameter.
★ Permissions: ℹ️
--
cgit 1.4.1
From 4bfdc3a1105895b767fe1a3946a8db0143ce649c Mon Sep 17 00:00:00 2001
From: SimonBrazell
Date: Tue, 14 Jul 2020 12:25:26 +1000
Subject: Moved Privacy Policy to wiki page
---
_locales/en/store.md | 9 +++++----
_locales/fr/store.md | 11 ++++++-----
_locales/ru/store.md | 9 +++++----
privacy-policy.md | 19 -------------------
4 files changed, 16 insertions(+), 32 deletions(-)
delete mode 100644 privacy-policy.md
(limited to '_locales/ru')
diff --git a/_locales/en/store.md b/_locales/en/store.md
index 3ba5844d..fc6667e8 100644
--- a/_locales/en/store.md
+++ b/_locales/en/store.md
@@ -1,11 +1,11 @@
# Extension Store (AMO & Chrome Web Store) Listing
## Summary:
-
+```
A simple web extension that redirects Twitter, YouTube, Instagram & Google Maps requests to privacy friendly alternatives.
-
+```
## Description:
-
+```
Redirects Twitter, YouTube, Instagram, & Google Maps requests to privacy friendly alternatives - Nitter, Invidious, Bibliogram, & OpenStreetMap.
Allows for setting custom instances, toggling all redirects on/off and more.
@@ -32,4 +32,5 @@ If you like this extension and are financially able please consider m'acheter un café ☕️ pour montrer que vous appréciez et soutenez la poursuite du projet.
-★ What's New in This Version (v1.1.36) 🆕
+★ Nouveautés de cette version (v1.1.36) 🆕
Added Russian language translation.
Fix Invidious autoplay parameter.
@@ -32,4 +32,5 @@ Si vous aimez ce module complémentaire et si vous avez une bonne situation fina
★ Autorisations: ℹ️
Veuillez noter que l'accès à tous les événements de navigation sur le site Web (toutes les adresses URL), et pas seulement aux domaines cibles, est requis pour permettre aux redirections vidéo intégrées de se faire correctement. Pour le moment, je ne connais aucun autre moyen de réaliser des redirections iframe, je serais heureux d'entendre quelques suggestions à ce sujet cependant 🙂
-
\ No newline at end of file
+
+```
\ No newline at end of file
diff --git a/_locales/ru/store.md b/_locales/ru/store.md
index 3ba5844d..fc6667e8 100644
--- a/_locales/ru/store.md
+++ b/_locales/ru/store.md
@@ -1,11 +1,11 @@
# Extension Store (AMO & Chrome Web Store) Listing
## Summary:
-
+```
A simple web extension that redirects Twitter, YouTube, Instagram & Google Maps requests to privacy friendly alternatives.
-
+```
## Description:
-
+```
Redirects Twitter, YouTube, Instagram, & Google Maps requests to privacy friendly alternatives - Nitter, Invidious, Bibliogram, & OpenStreetMap.
Allows for setting custom instances, toggling all redirects on/off and more.
@@ -32,4 +32,5 @@ If you like this extension and are financially able please consider Nitter, Invidious, Bibliogram, & OpenStreetMap.
+Перенаправляет запросы к Twitter, YouTube, Instagram, & Google Maps на альтернативные сервисы, дружелюбные к приватности - Nitter, Invidious, Bibliogram, & OpenStreetMap.
-Allows for setting custom instances, toggling all redirects on/off and more.
+Позволяет настраивать пользовательские сервисы, включать/выключать все перенаправления и т.д.
-★ More Info: ℹ️
+★ Дополнительная информация:
-The code for this web extension is available on Github.
+Исходный код данного расширения доступен на Github.
-★ Donate: 👨🏻💻
-If you like this extension and are financially able please consider buying me a coffee ☕️ to show your appreciation and support the continuation of the project.
+★ Пожертвовать:
+Если вам нравится это расширение и вы можете помочь финансово, пожалуйста, купите мне кофе, покажите ваше одобрение и поддержку развития проекта.
-★ What's New in This Version (v1.1.36) 🆕
+★ Что нового в этой версии (v1.1.36)
Please note, access to all website navigation events ( all URLs), not just the target domains, is required toallow embedded video redirects to occur. At this time I know of no other way to achieve iframe redirects, happy to hear some suggestions on this though 🙂
+
Важно: доступ ко всем сайтам (URL), не только к целевым, требуется для разрешения перенаправления встроенных видео. В данный момент я не знаю, как осуществить перенаправление iframe, буду рад выслушать ваши предложения.
-```
\ No newline at end of file
+```
--
cgit 1.4.1
From 338c998eb044ab5b7fc3b72a5008840fbc4fe7f8 Mon Sep 17 00:00:00 2001
From: TotalCaesar659 <14265316+TotalCaesar659@users.noreply.github.com>
Date: Wed, 15 Jul 2020 15:47:14 +0300
Subject: Take emojis back to Russian translation
---
_locales/ru/store.md | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
(limited to '_locales/ru')
diff --git a/_locales/ru/store.md b/_locales/ru/store.md
index 40dbb110..31b6715f 100644
--- a/_locales/ru/store.md
+++ b/_locales/ru/store.md
@@ -6,11 +6,11 @@
```
## Description:
```
-Перенаправляет запросы к Twitter, YouTube, Instagram, & Google Maps на альтернативные сервисы, дружелюбные к приватности - Nitter, Invidious, Bibliogram, & OpenStreetMap.
+Перенаправляет запросы к Twitter, YouTube, Instagram, & Google Maps на альтернативные сервисы, дружелюбные к приватности - Nitter, Invidious, Bibliogram и OpenStreetMap.
Позволяет настраивать пользовательские сервисы, включать/выключать все перенаправления и т.д.
-★ Дополнительная информация:
+★ Дополнительная информация: ℹ
@@ -20,17 +20,17 @@
Исходный код данного расширения доступен на Github.
-★ Пожертвовать:
-Если вам нравится это расширение и вы можете помочь финансово, пожалуйста, купите мне кофе, покажите ваше одобрение и поддержку развития проекта.
+★ Пожертвовать: 👨🏻💻
+Если вам нравится это расширение и вы можете помочь финансово, пожалуйста, купите мне кофе ☕ и покажите ваше одобрение и поддержку развития проекта.
-★ Что нового в этой версии (v1.1.36)
+★ Что нового в этой версии (v1.1.36) 🆕
Важно: доступ ко всем сайтам (URL), не только к целевым, требуется для разрешения перенаправления встроенных видео. В данный момент я не знаю, как осуществить перенаправление iframe, буду рад выслушать ваши предложения.
+
Важно: доступ ко всем сайтам (URL), не только к целевым, требуется для разрешения перенаправления встроенных видео. В данный момент я не знаю, как осуществить перенаправление iframe, буду рад выслушать ваши предложения 🙂
Gib eine URL oder einen regulären Ausdruck (Regex) ein, die/der von Weiterleitungen ausgeschlossen werden soll.
Alle Anfragen für oder ausgehend von einer URL, die auf die Ausnahme zutrifft, werden von Weiterleitungen ausgeschlossen.
Hinweis – Unterstützt reguläre JavaScript-Ausdrücke (Regex), mit Ausnahme der einschließenden Schrägstriche.
",
- "description": "A description of the 'Exceptions' feature (options)."
+ "exceptionsDescriptionP1": {
+ "message": "Gib eine URL oder einen regulären Ausdruck (Regex) ein, die/der von Weiterleitungen ausgeschlossen werden soll.",
+ "description": "A description of the 'Exceptions' feature paragraph 1 (options)."
+ },
+ "exceptionsDescriptionP2": {
+ "message": "Alle Anfragen für oder ausgehend von einer URL, die auf die Ausnahme zutrifft, werden von Weiterleitungen ausgeschlossen.",
+ "description": "A description of the 'Exceptions' feature paragraph 2 (options)."
+ },
+ "exceptionsDescriptionP3": {
+ "message": "Hinweis – Unterstützt reguläre JavaScript-Ausdrücke (Regex), mit Ausnahme der einschließenden Schrägstriche.",
+ "description": "A description of the 'Exceptions' feature paragraph 3 (options)."
},
"addException": {
"message": "Ausnahme hinzufügen",
@@ -94,5 +102,9 @@
"redirect": {
"message": "Redirect",
"description": "Extension title - Redirect (pop-up)."
+ },
+ "version": {
+ "message": "Version",
+ "description": "Version"
}
-}
\ No newline at end of file
+}
diff --git a/_locales/en/messages.json b/_locales/en/messages.json
index 2a34b8b7..2e106a7c 100644
--- a/_locales/en/messages.json
+++ b/_locales/en/messages.json
@@ -75,9 +75,17 @@
"message": "Exceptions",
"description": "Exceptions tab (options)."
},
- "exceptionsDescription": {
- "message": "
Enter a URL or Regular Expression to be excluded from redirects.
All requests for or initiating from a URL that matches the exception will be excluded from redirects.
",
- "description": "A description of the 'Exceptions' feature (options)."
+ "exceptionsDescriptionP1": {
+ "message": "Enter a URL or Regular Expression to be excluded from redirects.",
+ "description": "A description of the 'Exceptions' feature paragraph 1 (options)."
+ },
+ "exceptionsDescriptionP2": {
+ "message": "All requests for or initiating from a URL that matches the exception will be excluded from redirects.",
+ "description": "A description of the 'Exceptions' feature paragraph 2 (options)."
+ },
+ "exceptionsDescriptionP3": {
+ "message": "Note - Supports JavaScript regular expressions, excluding the enclosing forward slashes.",
+ "description": "A description of the 'Exceptions' feature paragraph 3 (options)."
},
"addException": {
"message": "Add Exception",
@@ -94,5 +102,9 @@
"redirect": {
"message": "Redirect",
"description": "Extension title - Redirect (pop-up)."
+ },
+ "version": {
+ "message": "Version",
+ "description": "Version"
}
-}
\ No newline at end of file
+}
diff --git a/_locales/fr/messages.json b/_locales/fr/messages.json
index ef172d18..7d57c8b4 100644
--- a/_locales/fr/messages.json
+++ b/_locales/fr/messages.json
@@ -75,8 +75,16 @@
"message": "Exceptions",
"description": "Onglet des Exceptions dans les options."
},
- "exceptionsDescription": {
- "message": "
Entrez une adresse URL ou une expression régulière qui sera exclue des redirections.
All requests for or initiating from a URL that matches the exception will be excluded from redirects.
",
+ "exceptionsDescriptionP1": {
+ "message": "Entrez une adresse URL ou une expression régulière qui sera exclue des redirections.",
+ "description": "Description pour la rubrique 'Exceptions' dans les options."
+ },
+ "exceptionsDescriptionP2": {
+ "message": "All requests for or initiating from a URL that matches the exception will be excluded from redirects.",
+ "description": "Description pour la rubrique 'Exceptions' dans les options."
+ },
+ "exceptionsDescriptionP3": {
+ "message": "Note - Supports JavaScript regular expressions, excluding the enclosing forward slashes.",
"description": "Description pour la rubrique 'Exceptions' dans les options."
},
"addException": {
@@ -94,5 +102,9 @@
"redirect": {
"message": "Redirect",
"description": "Titre du module complémentaire - Redirection (pop-up)."
+ },
+ "version": {
+ "message": "Version",
+ "description": "Version"
}
-}
\ No newline at end of file
+}
diff --git a/_locales/ru/messages.json b/_locales/ru/messages.json
index 0b7d996d..d46e3fb4 100644
--- a/_locales/ru/messages.json
+++ b/_locales/ru/messages.json
@@ -91,8 +91,16 @@
"message": "Исключения",
"description": "Вкладка 'Исключения' (в настройках)."
},
- "exceptionsDescription": {
- "message": "
Введите URL или регулярное выражение для исключения из перенаправлений.
Все запросы на URL, совпадающие с исключениями, или инициированные с них будут исключены из перенаправлений.
Примечание: Поддерживает регулярные выражения JavaScript, кроме закрывающих обратных слэшей.
",
+ "exceptionsDescriptionP1": {
+ "message": "Введите URL или регулярное выражение для исключения из перенаправлений.",
+ "description": "Описание функции 'Исключения' (в настройках)."
+ },
+ "exceptionsDescriptionP2": {
+ "message": "Все запросы на URL, совпадающие с исключениями, или инициированные с них будут исключены из перенаправлений.",
+ "description": "Описание функции 'Исключения' (в настройках)."
+ },
+ "exceptionsDescriptionP3": {
+ "message": "Примечание: Поддерживает регулярные выражения JavaScript, кроме закрывающих обратных слэшей.",
"description": "Описание функции 'Исключения' (в настройках)."
},
"addException": {
@@ -110,5 +118,9 @@
"redirect": {
"message": "Redirect",
"description": "Название расширения - Redirect (во всплывающем окне)."
+ },
+ "version": {
+ "message": "Version",
+ "description": "Version"
}
}
diff --git a/assets/javascript/localise.js b/assets/javascript/localise.js
index e408025d..cbe5c191 100644
--- a/assets/javascript/localise.js
+++ b/assets/javascript/localise.js
@@ -1,19 +1,19 @@
window.browser = window.browser || window.chrome;
-function localizeHtmlPage() {
- // Localize using __MSG_***__ data tags
- var data = document.querySelectorAll('[data-localize]');
+function localisePage() {
+ var data = document.querySelectorAll("[data-localise]");
- for (var i in data) if (data.hasOwnProperty(i)) {
- var obj = data[i];
- var tag = obj.getAttribute('data-localize').toString();
+ for (var i in data)
+ if (data.hasOwnProperty(i)) {
+ var obj = data[i];
+ var tag = obj.getAttribute("data-localise").toString();
- var msg = tag.replace(/__MSG_(\w+)__/g, function (_match, v1) {
- return v1 ? browser.i18n.getMessage(v1) : null;
- });
+ var msg = tag.replace(/__MSG_(\w+)__/g, function (_match, v1) {
+ return v1 ? browser.i18n.getMessage(v1) : null;
+ });
- if (msg && msg !== tag) obj.innerHTML = msg;
- }
+ if (msg && msg !== tag) obj.textContent = msg;
+ }
}
-localizeHtmlPage();
\ No newline at end of file
+localisePage();
diff --git a/manifest.json b/manifest.json
index 1e408456..d49fc9b9 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,7 +1,7 @@
{
"name": "__MSG_extensionName__",
"description": "__MSG_extensionDescription__",
- "version": "1.1.37",
+ "version": "1.1.38",
"manifest_version": 2,
"background": {
"scripts": ["background.js"],
diff --git a/pages/options/options.html b/pages/options/options.html
index f5947bc9..0f38ff0a 100644
--- a/pages/options/options.html
+++ b/pages/options/options.html
@@ -13,21 +13,21 @@
@@ -39,7 +39,7 @@