37 Commits

Author SHA1 Message Date
Kevin Röbert
3f707bfd3a Version 1.17.0
#457
#462
#445
2020-04-15 00:53:01 +02:00
Kevin Röbert
9d62ddf1b0 Update messages.json (POEditor.com) 2020-04-14 21:26:24 +00:00
Kevin Röbert
1344fd8636 Update messages.json (POEditor.com) 2020-04-14 21:26:23 +00:00
Kevin Röbert
54915cf0de Update messages.json (POEditor.com) 2020-04-14 21:19:19 +00:00
Kevin Röbert
ab325759cd Update messages.json (POEditor.com) 2020-04-14 21:18:17 +00:00
Kevin Röbert
12f63e7f71 Update messages.json (POEditor.com) 2020-04-14 21:16:58 +00:00
Kevin Röbert
7bc3891072 Update messages.json (POEditor.com) 2020-04-14 21:15:14 +00:00
Kevin Röbert
9ff50c965d Update messages.json (POEditor.com) 2020-04-14 21:13:24 +00:00
Kevin Röbert
4014195da8 Update messages.json (POEditor.com) 2020-04-14 21:10:59 +00:00
Kevin Röbert
50aa5e5a73 Update messages.json (POEditor.com) 2020-04-14 21:10:57 +00:00
Kevin Röbert
4a571794dc Update messages.json (POEditor.com) 2020-04-14 21:10:56 +00:00
Kevin Röbert
23d13b0710 Update messages.json (POEditor.com) 2020-04-14 21:10:55 +00:00
Kevin Röbert
d060acae08 Update messages.json (POEditor.com) 2020-04-14 21:10:53 +00:00
Kevin Röbert
28dfe00ff7 Update messages.json (POEditor.com) 2020-04-14 21:10:51 +00:00
Kevin Röbert
5ee667eb92 Update messages.json (POEditor.com) 2020-04-14 21:10:50 +00:00
Kevin Röbert
fda7da7f13 Update messages.json (POEditor.com) 2020-04-14 21:10:48 +00:00
Kevin Röbert
578d4bc48d Update messages.json (POEditor.com) 2020-04-14 21:10:47 +00:00
Kevin Röbert
c7a1c40f9d Update messages.json (POEditor.com) 2020-04-14 21:10:45 +00:00
Kevin Röbert
57e6ed704f Update messages.json (POEditor.com) 2020-04-14 21:10:43 +00:00
Kevin Röbert
9ee55e6536 Update messages.json (POEditor.com) 2020-04-14 21:10:42 +00:00
Kevin Röbert
755db29738 Update messages.json (POEditor.com) 2020-04-14 21:10:40 +00:00
Kevin Röbert
66671aec68 Update messages.json (POEditor.com) 2020-04-14 21:10:38 +00:00
Kevin Röbert
c2f500e060 Update messages.json (POEditor.com) 2020-04-14 21:10:37 +00:00
Kevin Röbert
cfad3d2b23 Update messages.json (POEditor.com) 2020-04-14 21:09:26 +00:00
Kevin Röbert
6d27c8a906 Update messages.json (POEditor.com) 2020-04-14 21:01:06 +00:00
Kevin Röbert
ab19cfd714 Merge branch 'revert-2878af17' into 'master'
Revert "Update messages.json (POEditor.com)"

See merge request KevinRoebert/ClearUrls!56
2020-04-14 20:55:32 +00:00
Kevin Röbert
c64cfbfe86 Revert "Update messages.json (POEditor.com)"
This reverts commit 2878af17b6
2020-04-14 20:55:06 +00:00
Kevin Röbert
b70e0d4912 Update messages.json (POEditor.com) 2020-04-14 20:12:11 +00:00
Kevin Röbert
badc78a954 Added rules and exceptions
#459
#441
#457
#448
#452
2020-04-08 21:20:26 +02:00
Kevin Röbert
c0b7ad9b06 Update README.md 2020-04-02 23:21:38 +00:00
Kevin Röbert
d984b512c0 Update messages.json (POEditor.com) 2020-04-02 22:55:11 +00:00
Kevin Röbert
d4ca4b0362 Update messages.json (POEditor.com) 2020-04-02 22:55:08 +00:00
Kevin Röbert
2878af17b6 Update messages.json (POEditor.com) 2020-04-02 22:55:07 +00:00
Kevin Röbert
86ef50ce91 Update messages.json (POEditor.com) 2020-04-02 22:55:05 +00:00
Kevin Röbert
9afb4fa167 Updated French translation
Special thanks again to Lucifer for the translation into French.
2020-03-23 23:23:06 +01:00
Kevin Röbert
6ee6591019 source fix 2020-03-20 13:20:28 +01:00
Kevin Röbert
eb45b51bcb Updated description 2020-03-20 01:57:46 +01:00
21 changed files with 494 additions and 64 deletions

View File

@@ -3,7 +3,7 @@ image: debian:latest
before_script:
- export DEBIAN_FRONTEND= noninteractive
- apt-get update -y
- apt-get install -y zip unzip jq nodejs
- apt-get install -y zip unzip nodejs
stages:
- build
@@ -23,30 +23,17 @@ hash rules:
only:
- master
build firefox:
bundle addon:
stage: build
script:
- zip ClearUrls_firefox -r -FS clearurls.js browser-polyfill.js manifest.json img/* external_js/* html/* core_js/* css/* fonts/* _locales/*
- zip ClearUrls -r -FS clearurls.js browser-polyfill.js manifest.json img/* external_js/* html/* core_js/* css/* fonts/* _locales/*
only:
- master
artifacts:
paths:
- ClearUrls_firefox.zip
build chrome:
stage: build
script:
- jq 'del(.applications)' manifest.json > manifest.json.tmp && mv manifest.json.tmp manifest.json
- zip ClearUrls_chrome -r -FS clearurls.js browser-polyfill.js manifest.json img/* external_js/* html/* core_js/* css/* fonts/* _locales/*
only:
- master
artifacts:
paths:
- ClearUrls_chrome.zip
- ClearUrls.zip
pages:
stage: deploy

View File

@@ -4,6 +4,34 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.17.0] - 2020-04-14
### Compatibility note
- Require Firefox >= 55
- Require Chrome >= 22
### Changed
- Updated some strings of Spanish translation
- Updated some strings of French translation
- Updated some strings of Italian translation
- Updated some strings of Russian translation
- Updated some strings of Swedish translation
- Updated some strings of Turkish translation
- Updated some strings of Ukrainian translation
- Updated some strings of Chinese Simple translation
### Fixed
- Fixed a typo in the path to the Datatables JavaScript file
- Fixed [#445](https://gitlab.com/KevinRoebert/ClearUrls/issues/445)
- Fixed [#462](https://gitlab.com/KevinRoebert/ClearUrls/issues/462)
### Added
- Added check for setBadgeTextColor function (only supported in Firefox)
### Removed
- Removed browser-polyfill content script import (seems no longer needed)
- Removed old `applications` value
## [1.16.0] - 2020-03-20
### Compatibility note
@@ -15,7 +43,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Fixed spontaneous disappearance of the badged
- Fixed wrong counting of blocked elements corrected (too little was ;D)
- Fixed wrong counting of blocked elements (too little was ;D)
### Changed
- Updated all translation

View File

@@ -29,6 +29,7 @@ Indeed most of the above URL is tracking code. Once ClearURLs has cleaned the ad
* Supports redirection to the destination, without tracking services as middleman
* Adds an entry to the context menu so that links can be copied quickly and cleanly
* Blocks hyperlink auditing, also known as *ping tracking* (see also [this article](https://html.spec.whatwg.org/multipage/links.html#hyperlink-auditing))
* Prevents ETag tracking
* Prevents tracking injection over history API (see also: [The replaceState() method](https://developer.mozilla.org/en-US/docs/Web/API/History_API#The_replaceState()_method))
* Prevents Google from rewriting the search results (to include tracking elements)
* Prevents Yandex from rewriting the search results (to include tracking elements)
@@ -42,12 +43,10 @@ Reasoning for needed permissions can be found under [here](https://gitlab.com/Ke
## CI/CD Artifacts Download (for Firefox- and Chrome-Dev only)
Here you can download the packed files for the Firefox- and Chrome-Dev:
[Firefox](https://gitlab.com/KevinRoebert/ClearUrls/-/jobs/artifacts/master/raw/ClearUrls_firefox.zip?job=build%20firefox)
[Chrome](https://gitlab.com/KevinRoebert/ClearUrls/-/jobs/artifacts/master/raw/ClearUrls_chrome.zip?job=build%20chrome)
[<img src="promotion/download-128.png"/>](https://gitlab.com/KevinRoebert/ClearUrls/-/jobs/artifacts/master/raw/ClearUrls.zip?job=bundle%20addon)
## Test
If you want to test whether ClearURLs works correctly on your system, you can go to this test page: [https://clearurls.roebert.eu/](https://clearurls.roebert.eu/)
If you want to test whether ClearURLs works correctly on your system, you can go to this test page: [https://kevinroebert.gitlab.io/ClearUrls/](https://kevinroebert.gitlab.io/ClearUrls/)
## Contribute
If you have any suggestions or complaints, please [create an issue.](https://gitlab.com/KevinRoebert/ClearUrls/issues/new)
@@ -71,6 +70,7 @@ Please push your translation into the folder `_locales/{country code}/messages.j
## Projects that use parts of ClearURLs
* [Uroute](https://github.com/walterl/uroute) used ClearURLs to filter/clean URL before launching browser
* [Scrub](https://gitlab.com/CrunchBangDev/cbd-cogs/-/tree/master/Scrub) used ClearURLs to filter/clean URLs as cog for the Red Discord bot
## Recommended by...
* [ghacks-user.js](https://github.com/ghacksuserjs/ghacks-user.js/wiki/4.1-Extensions)

View File

@@ -1,8 +1,4 @@
{
"extension_description": {
"message": "Entfernt Tracking-Elemente von URLs.",
"description": "Erweiterungsbeschreibung (max. 132 Zeichen)"
},
"hash_status_code_1": {
"message": "Aktuell",
"description": "Dieser Statuscode besagt, dass kein Update für die ClearURLs-Regeln verfügbar ist und alles auf dem neuesten Stand ist."
@@ -335,6 +331,10 @@
"message": "Blockiere Hyperlink Auditing Anfragen",
"description": "Diese Zeichenkette wird als Titel für das Hyperlink Auditing-Blocking verwendet."
},
"extension_description": {
"message": "Entfernt Tracking-Elemente von URLs.",
"description": "Erweiterungsbeschreibung (max. 132 Zeichen)"
},
"eTag_filtering_log": {
"message": "ETag-Header wurde aus dieser Anfrage entfernt",
"description": "Diese Zeichenkette wird für das Filtern von ETag-Headern im ClearURL-Protokoll verwendet."

View File

@@ -1,8 +1,4 @@
{
"extension_description": {
"message": "Remove tracking elements from URLs.",
"description": "Extension description (max. 132 characters)"
},
"hash_status_code_1": {
"message": "up to date",
"description": "This status code says, that no update is available for the ClearURLs rules and everything is up to date."
@@ -335,6 +331,10 @@
"message": "Block hyperlink auditing",
"description": "This string is used as title for the hyperlink auditing blocking switch"
},
"extension_description": {
"message": "Remove tracking elements from URLs.",
"description": "Extension description (max. 132 characters)"
},
"eTag_filtering_log": {
"message": "ETag header was removed from this request",
"description": "This string is used on ETag header filtering in the ClearURLs log."

View File

@@ -301,6 +301,10 @@
"message": "Permitir márketing de referidos",
"description": "This string is used as title for the referral marketing switch"
},
"watchdog": {
"message": "[ClearURLs]: El watchdog detectado un problema. ClearURLs será reiniciado.",
"description": "This string is used as text for the watchdog"
},
"domain_blocking_enabled": {
"message": "Permitir bloqueo de dominios (Puede provocar problemas con sitios que no permitan bloqueadores de anuncios)",
"description": "This string is used as label for the domain blocking switch"

View File

@@ -299,7 +299,17 @@
},
"referral_marketing_enabled_title": {
"message": "Permettre certaines actions commerciales",
"description": "Sert à afficher la signification de la fonction sur la page qui affiche les options."
"description": "Sert à afficher la signification de la fonction sur la switch"
},
"watchdog": {
"message": "[ClearURLs]: Watchdog, très petit programme qui surveille les attaques de la mémoire vive, a détecté $TIMES$ problème(s)",
"description": "Utilisé pour un texte explicatif du Watchdog",
"placeholders": {
"times": {
"content": "$1",
"example": "3"
}
}
},
"domain_blocking_enabled": {
"message": "Bloquer les atteintes à la vie privée. Cependant, des sites décèlent la technique de protection et dysfonctionnent délibérément ou affichent des avertissements",
@@ -318,7 +328,23 @@
"description": "Utilisé pour le bouton activer/désactiver l'audit (espionnages) des liens hypertextes"
},
"ping_blocking_enabled_title": {
"message": "Bloquer lespionnage des clics souris sur les liens hypertextes",
"description": "Utilisé pour le bouton activer/désactiver de l'audit (espionnages) des liens hypertextes"
"message": "Bloquer lespionnage auditing",
"description": "Utilisé comme titre pour le bouton, commutateur, de laudit des liens hypertextes"
},
"extension_description": {
"message": "Retirer les espions dans les adresses Internet.",
"description": "Description des fonctions ; utilisez au maximum 132 caractères."
},
"eTag_filtering_log": {
"message": "Lidentification ETag a été supprimée",
"description": "Utilisé pour le journal de ClearUrls et indiquer ce qui a été nettoyé"
},
"eTag_filtering_enabled": {
"message": "Filtrer ETag ; les sites mettent dans le cache du Navigateur, ou Système dExploitation, un identifiant pour vous pister",
"description": "Titre pour le bouton de filtrage ETag"
},
"eTag_filtering_enabled_title": {
"message": "Filtre les identifications ETag, mais pour la première utilisation, veuillez vider le cache",
"description": "Titre pour le bouton de filtrage ETag"
}
}

View File

@@ -301,6 +301,10 @@
"message": "Permette l'utilizzo del referral marketing (esempio: Amazon)",
"description": "This string is used as title for the referral marketing switch"
},
"watchdog": {
"message": "[ClearURLs]: Il sistema di controllo ha identificato un problema. ClearURLs verrà riavviato.",
"description": "This string is used as text for the watchdog"
},
"domain_blocking_enabled": {
"message": "Permetti il blocco dei domini (può portare a problemi su pagine che non consentono AdBlocker)",
"description": "This string is used as label for the domain blocking switch"

View File

@@ -301,6 +301,16 @@
"message": "Разрешить рефералы маркетинга",
"description": "This string is used as title for the referral marketing switch"
},
"watchdog": {
"message": "[ClearURLs]: сторожевой таймер обнаружил проблему. ClearURLs будет перезапущен.",
"description": "This string is used as text for the watchdog",
"placeholders": {
"times": {
"content": "$1",
"example": "3"
}
}
},
"domain_blocking_enabled": {
"message": "Разрешить блокировку домена (может вызвать проблемы на сайтах, которые запрещают AdBlocker)",
"description": "This string is used as label for the domain blocking switch"
@@ -320,5 +330,21 @@
"ping_blocking_enabled_title": {
"message": "Блокировка аудита гиперссылок",
"description": "This string is used as title for the hyperlink auditing blocking switch"
},
"extension_description": {
"message": "Удаление элементов слежения из URL-адресов.",
"description": "Описание расширения"
},
"eTag_filtering_log": {
"message": "Заголовок ETag был удален из этого запроса",
"description": "This string is used on ETag header filtering in the ClearURLs log."
},
"eTag_filtering_enabled": {
"message": "Фильтровать заголовки ETag из запросов (см. <a href='https://en.wikipedia.org/wiki/HTTP_ETag#Tracking_using_ETags' target='_blank'>эту статью</a>)",
"description": "This string is used as label for the ETag header filtering switch"
},
"eTag_filtering_enabled_title": {
"message": "Фильтрация заголовков ETag. Примечание: очистите кэш перед первым использованием.",
"description": "This string is used as title for the ETag header filtering switch"
}
}

View File

@@ -301,6 +301,10 @@
"message": "Tillåt referral marketing",
"description": "This string is used as title for the referral marketing switch"
},
"watchdog": {
"message": "[ClearURLs]: Ett problem har upptäckts. ClearURLs startar om.",
"description": "This string is used as text for the watchdog"
},
"domain_blocking_enabled": {
"message": "Tillåt domänblockering (Kan leda till problem på sidor som inte tillåter AdBlockers)",
"description": "This string is used as label for the domain blocking switch"

View File

@@ -301,6 +301,16 @@
"message": "Tavsiye pazarlamasına izin verir",
"description": "Bu dize tavsiye pazarlama anahtarı için başlık olarak kullanılır"
},
"watchdog": {
"message": "[ClearURL'ler]: Güvenlik Zamanlayıcısı bir sorun tespit etti. ClearURL'ler yeniden başlatıldı.",
"description": "Bu dize güvenlik zamanlayıcısı için metin olarak kullanılır.",
"placeholders": {
"times": {
"content": "$1",
"example": "3"
}
}
},
"domain_blocking_enabled": {
"message": "Alan adı engellemeye izin ver (Reklam Engelleyicilere izin vermeyen sayfalarda sorunlara neden olabilir)",
"description": "Bu dize, alan adı engelleme anahtarı için etiket olarak kullanılır"
@@ -320,5 +330,21 @@
"ping_blocking_enabled_title": {
"message": "Köprü denetimini engelle",
"description": "Bu dize köprü denetim engelleme anahtarının başlığı olarak kullanılır"
},
"extension_description": {
"message": "İzleme öğelerini URL'lerden kaldırın.",
"description": "Uzantııklaması."
},
"eTag_filtering_log": {
"message": "ETag başlığı bu istekten kaldırıldı",
"description": "Bu dize, ClearURLs günlüğünde ETag üstbilgisi filtrelemesinde kullanılır."
},
"eTag_filtering_enabled": {
"message": "ETag başlıklarını isteklerden filtreler (Ayrıca bkz. <a href='https://en.wikipedia.org/wiki/HTTP_ETag#Tracking_using_ETags' target='_blank'>Bu makaleye</a>)",
"description": "Bu dize, ETag başlık filtreleme anahtarı için etiket olarak kullanılır"
},
"eTag_filtering_enabled_title": {
"message": "ETag başlıklarını filtreler. İpucu: İlk kullanımdan önce önbellek temizlenmelidir.",
"description": "Bu dize, ETag başlık filtreleme anahtarının başlığı olarak kullanılır"
}
}

View File

@@ -72,7 +72,7 @@
"description": "This string is used as title for the filter switch button on the popup page."
},
"popup_html_configs_switch_log": {
"message": "Журнал",
"message": "Логування",
"description": "This string is used as name for the logging switch button on the popup page."
},
"popup_html_configs_switch_log_title": {
@@ -198,5 +198,153 @@
"donate_button": {
"message": "Внесок для розробників ClearURLs.",
"description": "This string is used to refer to a donation page."
},
"clipboard_copy_link": {
"message": "Скопіювати \"чисте\" посилання",
"description": "This string is used in the context menu to copy clean links."
},
"context_menu_enabled": {
"message": "Відобразити контекстне меню",
"description": "This string is used toggle the context menu entry to copy clean links."
},
"history_listener_enabled": {
"message": "Запобігти трекінг через API історії браузеру (див. також: <a href='https://developer.mozilla.org/en-US/docs/Web/API/History_API#The_replaceState()_method' target='_blank'>Метод replaceState()</a>)",
"description": "This string is used as name for the history API listener label."
},
"cleaning_tool_page_title": {
"message": "ClearURLs є утилітою очищення посилань",
"description": "This string is used as title on the cleaning tool page."
},
"cleaning_tool_description": {
"message": "За допомогою цієї утиліти ви можете вставити URL-адреси для ії \"очищення\" після натискання на зелену кнопку. Ви можете вставити відразу кілька URL-адрес, але кожна URL-адреса повинна бути на окремому рядку.",
"description": "This string is used as description of the cleaning tool."
},
"cleaning_tool_btn": {
"message": "\"Чисті\" посилання",
"description": "This string is used as name for the clean url button."
},
"cleaning_tool_dirty_urls_label": {
"message": "Тут ви можете вставити \"брудні\" посилання:",
"description": "This string is used as title on the cleaning tool page for the dirty URLs."
},
"cleaning_tool_clean_urls_label": {
"message": "Тут ви можете знайти \"чисті\" посилання:",
"description": "This string is used as title on the cleaning tool page for the clean URLs."
},
"local_hosts_skipping": {
"message": "Не фільтрувати посилання на локальних адресах (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 100.64.0.0/10, 169.254.0.0/16, 127.0.0.1, localhost)",
"description": "This string is used as label for the local host skipping switch"
},
"local_hosts_skipping_title": {
"message": "Не фільтрує посилання на локальних адресах",
"description": "This string is used as title for the local host skipping switch"
},
"log_html_export_button": {
"message": "Експорт",
"description": "This string is used for the export button on the log page."
},
"log_html_export_button_title": {
"message": "Експортувати глобальний лог",
"description": "This string is used as title for the export button on the log page."
},
"log_html_import_button": {
"message": "Імпорт",
"description": "This string is used for the import button on the log page."
},
"log_html_import_button_title": {
"message": "Імпортувати глобальний лог",
"description": "This string is used as title for the import button on the log page."
},
"setting_html_export_button": {
"message": "Експрот",
"description": "This string is used as name for the export button on the settings page."
},
"setting_html_export_button_title": {
"message": "Експортує все",
"description": "This string is used as title for the export button on the settings page."
},
"setting_html_import_button": {
"message": "Імпорт",
"description": "This string is used as name for the reset button on the settings page."
},
"setting_html_import_button_title": {
"message": "Імпортує все",
"description": "This string is used as title for the import button on the settings page."
},
"setting_log_limit_label": {
"message": "Обмежити логування $LIMIT$ записів.",
"description": "This string is used as name for the log limit label.",
"placeholders": {
"limit": {
"content": "$1",
"example": "100"
}
}
},
"blocked_html_title": {
"message": "Цей сайт було заблоковано додатком <b>ClearURLs</b>",
"description": "This string is used as title on the blocked site page."
},
"blocked_html_body": {
"message": "Цей сайт було заблоковано додатком <b>ClearURLs</b>, оскільки ми ідентифікували його як рекламний і/або трекінговий сервіс.\nДля того, щоб відвідати цей сайт, ви повинні тимчасово відключати додаток або виключати блокування доменів в налаштуваннях ClearURLs.\nПісля цього ви зможете натитснути кнопку нижче, щоб завантажити сторінку.",
"description": "This string is used as body on the blocked site page."
},
"blocked_html_button": {
"message": "Відвідати сторінку",
"description": "This string is used as button on the blocked site page."
},
"referral_marketing_enabled": {
"message": "Дозволити реферальний маркетинг",
"description": "This string is used as label for the referral marketing switch"
},
"referral_marketing_enabled_title": {
"message": "Дозволяє реферальний маркетинг",
"description": "This string is used as title for the referral marketing switch"
},
"watchdog": {
"message": "[ClearURLs]: \"Сторожовий пес\" помітив проблему та вилетів $TIMES$ разів.\n",
"description": "This string is used as text for the watchdog",
"placeholders": {
"times": {
"content": "$1",
"example": "3"
}
}
},
"domain_blocking_enabled": {
"message": "Дозволити блокування домену (Може привести до проблем на сайтах, які блокують AdBlocker'и)",
"description": "This string is used as label for the domain blocking switch"
},
"domain_blocking_enabled_title": {
"message": "Дозволити блокування домену (Може привести до проблем на сайтах, які блокують AdBlocker'и)",
"description": "This string is used as title for the domain blocking switch"
},
"log_ping_blocked": {
"message": "Цей аудит гіперпосилань було заблоковано",
"description": "This string is used on hyperlink auditing in the ClearURLs log."
},
"ping_blocking_enabled": {
"message": "Відключити аудит гіперпосилань (див. також <a href='https://html.spec.whatwg.org/multipage/links.html#hyperlink-auditing' target='_blank'>цю статтю</a>)",
"description": "This string is used as label for the hyperlink auditing blocking switch"
},
"ping_blocking_enabled_title": {
"message": "Блокувати аудит гіперпосилань",
"description": "This string is used as title for the hyperlink auditing blocking switch"
},
"extension_description": {
"message": "Видалити елементи трекінгу з посилань",
"description": "Опис додатку (максимум 132 символи)"
},
"eTag_filtering_log": {
"message": "ETag був видалений з цього запиту",
"description": "Ця стрічка використовується для фільтрації заголовків ETag у журналі ClearURL."
},
"eTag_filtering_enabled": {
"message": "Фільтрує ETag заголовки в запитах (див. також <a href='https://en.wikipedia.org/wiki/HTTP_ETag#Tracking_using_ETags' target='_blank'>цю статтю</a>)",
"description": "Цей рядок використовується, як мітка для перемикача фільтра заголовка ETag"
},
"eTag_filtering_enabled_title": {
"message": "Фільтри заголовків ETag. \nПідказка: Кеш повинен бути скинутим перед першим використанням.",
"description": "Цей рядок використовується, як заголовок для перемикача фільтра заголовка ETag"
}
}

View File

@@ -207,10 +207,6 @@
"message": "显示右键选单条目",
"description": "This string is used toggle the context menu entry to copy clean links."
},
"history_listener_enabled": {
"message": "Prevent tracking injection over history API (详见: <a href='https://developer.mozilla.org/en-US/docs/Web/API/History_API#The_replaceState()_method' target='_blank'>The replaceState() method</a>)",
"description": "This string is used as name for the history API listener label."
},
"cleaning_tool_page_title": {
"message": "ClearURLs的网址清理工具",
"description": "This string is used as title on the cleaning tool page."
@@ -230,5 +226,9 @@
"cleaning_tool_clean_urls_label": {
"message": "清理后的网址:",
"description": "This string is used as title on the cleaning tool page for the clean URLs."
},
"local_hosts_skipping": {
"message": "跳过本地主机链接10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 100.64.0.0/10, 169.254.0.0/16, 127.0.0.1, localhost",
"description": "This string is used as label for the local host skipping switch"
}
}

View File

@@ -207,10 +207,6 @@
"message": "顯示右鍵選單項目",
"description": "This string is used toggle the context menu entry to copy clean links."
},
"history_listener_enabled": {
"message": "Prevent tracking injection over history API (詳見: <a href='https://developer.mozilla.org/en-US/docs/Web/API/History_API#The_replaceState()_method' target='_blank'>The replaceState() method</a>)",
"description": "This string is used as name for the history API listener label."
},
"cleaning_tool_page_title": {
"message": "ClearURLs的網址清理工具",
"description": "This string is used as title on the cleaning tool page."

View File

@@ -22,7 +22,8 @@
* Filters eTag headers from web requests.
*/
function eTagFilter(requestDetails) {
if(!requestDetails.responseHeaders || !storage.eTagFiltering) return {};
if(!requestDetails.responseHeaders || !storage.eTagFiltering
|| storage.localHostsSkipping && checkLocalURL(requestDetails.url)) return {};
const responseHeaders = requestDetails.responseHeaders;
const filteredHeaders = responseHeaders.filter(header => {

View File

@@ -30,7 +30,7 @@
ele.type = 'text/javascript';
ele.textContent = "Object.defineProperty(window, 'rwt', {" +
" value: function() { return false; }," +
" value: function() { return true; }," +
" writable: false," +
" configurable: false" +
"});";

View File

@@ -233,9 +233,13 @@ function setBadgedStatus() {
browser.browserAction.setBadgeBackgroundColor({
'color': color
}).catch(handleError);
browser.browserAction.setBadgeTextColor({
color: "#FFFFFF"
}).catch(handleError);
// Works only in Firefox: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/browserAction/setBadgeTextColor#Browser_compatibility
if (getBrowser() === "Firefox") {
browser.browserAction.setBadgeTextColor({
color: "#FFFFFF"
}).catch(handleError);
}
}
});
}
@@ -283,7 +287,7 @@ Object.prototype.getOrDefault = function (key, defaultValue) {
};
function handleError(error) {
console.log(translate('core_error') + ":" + error);
console.log("[ClearURLs ERROR]:" + error);
}
/**

View File

@@ -45,7 +45,8 @@
".*(amazon\\.).*(\\/gp).*\\/redirector.html\\/.*",
".*(amazon\\.).*(\\/hz\\/reviews-render\\/ajax\\/).*",
".*(amazon\\.).*(\\/gp).*\\/cart\\/ajax-update.html\\/.*",
".*(amazon\\.).*\\/message-us\\?.*"
".*(amazon\\.).*\\/message-us\\?.*",
".*(amazon\\.).*(\\/gp).*\\/video\\/api\\/.*"
],
"rawRules": [
"\\/ref=[^\\/\\?]*"
@@ -1476,6 +1477,194 @@
"exceptions": [],
"redirections": [],
"forceRedirection": false
},
"srvtrck.com": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(srvtrck)(\\.com).*",
"completeProvider": false,
"rules": [],
"referralMarketing": [],
"rawRules": [],
"exceptions": [],
"redirections": [
".*url=([^&]*)"
],
"forceRedirection": false
},
"mysku.ru": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(mysku)(\\.ru).*",
"completeProvider": false,
"rules": [],
"referralMarketing": [],
"rawRules": [],
"exceptions": [],
"redirections": [
".*r=([^&]*)"
],
"forceRedirection": false
},
"admitad.com": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(admitad)(\\.com).*",
"completeProvider": false,
"rules": [],
"referralMarketing": [],
"rawRules": [],
"exceptions": [],
"redirections": [
".*ulp=([^&]*)"
],
"forceRedirection": false
},
"taobao.com": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(taobao)(\\.com).*",
"completeProvider": false,
"rules": [
"price",
"sourceType",
"suid",
"ut_sk",
"un",
"share_crt_v",
"sp_tk",
"cpp",
"shareurl",
"short_name",
"app",
"scm[_a-zA-Z\\-]*",
"pvid",
"algo_expid",
"algo_pvid",
"ns",
"abbucket",
"ali_refid",
"ali_trackid",
"acm",
"utparam",
"pos",
"abtest",
"trackInfo",
"user_number_id",
"utkn",
"scene",
"mytmenu",
"turing_bucket",
"lygClk",
"impid",
"bftTag",
"bftRwd"
],
"referralMarketing": [],
"rawRules": [],
"exceptions": [],
"redirections": [],
"forceRedirection": false
},
"tmall.com": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(tmall)(\\.com).*",
"completeProvider": false,
"rules": [
"price",
"sourceType",
"suid",
"ut_sk",
"un",
"share_crt_v",
"sp_tk",
"cpp",
"shareurl",
"short_name",
"app",
"scm[_a-zA-Z\\-]*",
"pvid",
"algo_expid",
"algo_pvid",
"ns",
"abbucket",
"ali_refid",
"ali_trackid",
"acm",
"utparam",
"pos",
"abtest",
"trackInfo",
"user_number_id",
"utkn",
"scene",
"mytmenu",
"turing_bucket",
"lygClk",
"impid",
"bftTag",
"bftRwd",
"activity_id"
],
"referralMarketing": [],
"rawRules": [],
"exceptions": [],
"redirections": [],
"forceRedirection": false
},
"tb.cn": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(tb)(\\.cn).*",
"completeProvider": false,
"rules": [
"sm"
],
"referralMarketing": [],
"rawRules": [],
"exceptions": [],
"redirections": [],
"forceRedirection": false
},
"bilibili.com": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(bilibili)(\\.com).*",
"completeProvider": false,
"rules": [
"callback",
"spm_id_from",
"from_source",
"from",
"seid"
],
"referralMarketing": [],
"rawRules": [],
"exceptions": [
".*(api\\.bilibili\\.com)\\/.*"
],
"redirections": [],
"forceRedirection": false
},
"marketscreener.com": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(marketscreener)(\\.com).*",
"completeProvider": false,
"rules": [
"type_recherche",
"mots",
"noredirect",
"RewriteLast",
"lien"
],
"referralMarketing": [],
"rawRules": [],
"exceptions": [
".*\\/search\\/.*\\?.*"
],
"redirections": [],
"forceRedirection": false
},
"marketscreener.com search": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(marketscreener)(\\.com).*\\/search\\/.*\\?.*",
"completeProvider": false,
"rules": [
"type_recherche",
"noredirect",
"RewriteLast",
"lien"
],
"referralMarketing": [],
"rawRules": [],
"exceptions": [],
"redirections": [],
"forceRedirection": false
}
}
}

View File

@@ -114,7 +114,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<script src="../browser-polyfill.js"></script>
<script src="../external_js/jquery-3.4.1.min.js"></script>
<script src="../external_js/bootstrap.min.js"></script>
<script src="../external_js/dataTables.min.js"></script>
<script src="../external_js/datatables.min.js"></script>
<script src="../external_js/fontawesome/all.min.js"></script>
<script src="../core_js/log.js"></script>
<script src="../core_js/write_version.js"></script>

View File

@@ -1,16 +1,11 @@
{
"manifest_version": 2,
"name": "ClearURLs",
"version": "1.16.0",
"version": "1.17.0",
"author": "Kevin Röbert",
"description": "__MSG_extension_description__",
"homepage_url": "https://gitlab.com/KevinRoebert/ClearUrls",
"default_locale": "en",
"applications": {
"gecko": {
"id": "{74145f27-f039-47ce-a470-a662b129930a}"
}
},
"icons": {
"16": "img/clearurls_16x16.png",
"19": "img/clearurls_19x19.png",
@@ -74,14 +69,6 @@
]
},
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"js": [
"browser-polyfill.js"
]
},
{
"all_frames": true,
"matches": [

BIN
promotion/download-128.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB