From 228015e64097bbd3c7d7bee8c16bf23b708500ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=20R=C3=B6bert?= Date: Wed, 26 Sep 2018 17:35:50 +0200 Subject: [PATCH] New Addon version and 10k downloads :) --- _locales/de/messages.json | 5 + _locales/en/messages.json | 5 + core_js/popup_new.js | 1 + css/core.css | 10 + html/popup.html | 4 +- img/ClearURLs 10k downloads.jpg | Bin 0 -> 1779520 bytes img/ClearURLs 10k downloads.png | Bin 0 -> 2923662 bytes img/ClearURLs 10k downloads.svg | 505 ++++++++++++++++++++++++++++++++ manifest.json | 2 +- 9 files changed, 530 insertions(+), 2 deletions(-) create mode 100644 img/ClearURLs 10k downloads.jpg create mode 100644 img/ClearURLs 10k downloads.png create mode 100644 img/ClearURLs 10k downloads.svg diff --git a/_locales/de/messages.json b/_locales/de/messages.json index 3a71bf2..163ddba 100644 --- a/_locales/de/messages.json +++ b/_locales/de/messages.json @@ -242,5 +242,10 @@ "error_report_url": { "message": "Es schaut so aus, als ob diese URL schon gemeldet wurde.", "description": "" + }, + + "donate_button": { + "message": "Eine Spende (Schenkung) für den ClearURLs Urheber.", + "description": "" } } diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 855eeaa..4bc0c9a 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -242,5 +242,10 @@ "error_report_url": { "message": "It seems like this URL has already been reported.", "description": "" + }, + + "donate_button": { + "message": "A donation for the ClearURLs creator.", + "description": "" } } diff --git a/core_js/popup_new.js b/core_js/popup_new.js index 69169b0..22a80c7 100644 --- a/core_js/popup_new.js +++ b/core_js/popup_new.js @@ -208,6 +208,7 @@ function setText() injectText('configs_head','popup_html_configs_head'); injectText('configs_switch_statistics','configs_switch_statistics'); injectText('reportButton', 'popup_html_report_button', true); + $('#donate').prop('title', translate('donate_button')); } /** diff --git a/css/core.css b/css/core.css index a73fc80..6c4d16d 100644 --- a/css/core.css +++ b/css/core.css @@ -14,3 +14,13 @@ body { .col-sm-1 { margin-top: -10px; } + +#donate { + transition: 0.3s; + opacity: 0.8; + color: red; +} + +#donate:hover { + opacity: 1; +} diff --git a/html/popup.html b/html/popup.html index 88a9ccf..377e42b 100644 --- a/html/popup.html +++ b/html/popup.html @@ -28,12 +28,14 @@
+ -