mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-02-22 22:57:43 +01:00
update info page (#1274)
This commit is contained in:
parent
e91841a369
commit
0b140b401e
@ -1,3 +1,11 @@
|
||||
img {
|
||||
width: 100%
|
||||
}
|
||||
|
||||
.header {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.bold {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
@ -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>
|
||||
|
@ -35,8 +35,6 @@ info._onDocumentLoaded = function () {
|
||||
if (!helpers.insertI18nContentIntoDocument(document)) {
|
||||
document.getElementById('notice-locale').style.display = 'block';
|
||||
}
|
||||
|
||||
chrome.permissions.request({'origins': ['<all_urls>']});
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user