update info page (#1274)

This commit is contained in:
nobody 2022-12-30 06:10:27 +01:00
parent e91841a369
commit 0b140b401e
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
3 changed files with 18 additions and 5 deletions

View File

@ -1,3 +1,11 @@
img {
width: 100%
}
.header {
font-size: 20px;
}
.bold {
font-weight: bold;
}

View File

@ -9,12 +9,19 @@
<link rel="stylesheet" type="text/css" href="../style.css">
<link rel="stylesheet" type="text/css" href="../base.css">
<link rel="stylesheet" type="text/css" href="info.css">
<script src="../../modules/internal/helpers.js"></script>
<script src="info.js"></script>
</head>
<body>
<body class="bold">
<img src="../images/logo.svg" alt="" class="logo">
<h1 data-i18n-content="permissionRevokedHeader">Permission revoked</h1>
<div class="notice">
<p data-i18n-content="permissionRevokedPermissionName">Access your data for all websites</p>
<p class="header">
<span data-i18n-content="permissionRevokedHeader">Permission revoked</span><span>:</span>
</p>
<ul>
<li data-i18n-content="permissionRevokedPermissionName">Access your data for all websites</li>
</ul>
<p data-i18n-content="permissionRevokedDescription">Please do not disable the permission. LocalCDN needs the permission to detect and redirect requests to CDNs.</p>
<img src="host_permissions.png" alt="" class="img-host-permissions">
</div>

View File

@ -35,8 +35,6 @@ info._onDocumentLoaded = function () {
if (!helpers.insertI18nContentIntoDocument(document)) {
document.getElementById('notice-locale').style.display = 'block';
}
chrome.permissions.request({'origins': ['<all_urls>']});
};