diff --git a/core/constants.js b/core/constants.js index d3b2cd60..13bc25ab 100644 --- a/core/constants.js +++ b/core/constants.js @@ -212,7 +212,11 @@ const Links = { 'DONATE': chrome.extension.getURL('pages/donate/donate.html'), 'CHANGELOG': chrome.extension.getURL('pages/updates/updates.html'), 'FAQ': chrome.extension.getURL('pages/help/help.html'), - 'STATISTICS': chrome.extension.getURL('pages/statistics/statistics.html') + 'FAQ_HTML_FILTER': chrome.extension.getURL('pages/help/help.html#html-filter'), + 'STATISTICS': chrome.extension.getURL('pages/statistics/statistics.html'), + 'LOCALCDN_TEST': 'https://www.localcdn.org/test', + 'LOCALCDN_TEST_WEBSITE': 'https://www.localcdn.org/test/check?domain=', + 'WEBLATE': 'https://hosted.weblate.org/projects/localcdn/', }; const CDNs = { diff --git a/icons/credits b/icons/credits index 4f46de8c..73388628 100644 --- a/icons/credits +++ b/icons/credits @@ -22,4 +22,8 @@ CC0 restore.svg https://www.svgrepo.com/svg/53536/return -CC0 \ No newline at end of file +CC0 + +help-dark.svg, help-light.svg (edited) +https://www.svgrepo.com/svg/240068/help-question +CC0 diff --git a/icons/help-dark.svg b/icons/help-dark.svg new file mode 100644 index 00000000..fb2c7e30 --- /dev/null +++ b/icons/help-dark.svg @@ -0,0 +1,114 @@ + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/icons/help-light.svg b/icons/help-light.svg new file mode 100644 index 00000000..bff47818 --- /dev/null +++ b/icons/help-light.svg @@ -0,0 +1,114 @@ + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/pages/popup/popup.css b/pages/popup/popup.css index 23efc8b7..ecd3c2fa 100644 --- a/pages/popup/popup.css +++ b/pages/popup/popup.css @@ -22,6 +22,20 @@ header { justify-content: space-between; } +#manipulateDOM-indicator { + background: url('../../icons/help-dark.svg') no-repeat right center; + color: #555; + background-size: 15px 15px; + padding-right: 20px; + text-decoration: underline; +} + +#manipulateDOM-indicator:hover { + color: #777; + text-decoration: none; + cursor: pointer; +} + .panel { overflow: hidden; } @@ -60,6 +74,11 @@ footer { flex-grow: 1; } +#testing-utility-link { + display: none; + float: left; +} + /** * Fonts */ @@ -413,6 +432,15 @@ input:checked + .slider:hover { border-bottom-color: #292929; } + #manipulateDOM-indicator { + background: url('../../icons/help-light.svg') no-repeat right center; + background-size: 15px 15px; + padding-right: 20px; + text-decoration: underline; + color: #f2f2f2; + font-weight: bold; + } + /** * Lists */ diff --git a/pages/popup/popup.html b/pages/popup/popup.html index 67ef30f3..3475cc16 100644 --- a/pages/popup/popup.html +++ b/pages/popup/popup.html @@ -55,7 +55,7 @@