From 0b140b401eda7370156e9a5a6cd1eb45536a6bfb Mon Sep 17 00:00:00 2001 From: nobody Date: Fri, 30 Dec 2022 06:10:27 +0100 Subject: [PATCH] update info page (#1274) --- pages/info/info.css | 8 ++++++++ pages/info/info.html | 13 ++++++++++--- pages/info/info.js | 2 -- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/pages/info/info.css b/pages/info/info.css index 5c701e22..8b7c812d 100644 --- a/pages/info/info.css +++ b/pages/info/info.css @@ -1,3 +1,11 @@ img { width: 100% } + +.header { + font-size: 20px; +} + +.bold { + font-weight: bold; +} diff --git a/pages/info/info.html b/pages/info/info.html index f1b6cc8e..5b748867 100644 --- a/pages/info/info.html +++ b/pages/info/info.html @@ -9,12 +9,19 @@ + + + - + -

Permission revoked

-

Access your data for all websites

+

+ Permission revoked: +

+

Please do not disable the permission. LocalCDN needs the permission to detect and redirect requests to CDNs.

diff --git a/pages/info/info.js b/pages/info/info.js index f6061f90..35cdbd9b 100644 --- a/pages/info/info.js +++ b/pages/info/info.js @@ -35,8 +35,6 @@ info._onDocumentLoaded = function () { if (!helpers.insertI18nContentIntoDocument(document)) { document.getElementById('notice-locale').style.display = 'block'; } - - chrome.permissions.request({'origins': ['']}); };