mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2024-12-23 00:25:15 +01:00
Welcome page optimized
This commit is contained in:
parent
3de66b7d55
commit
79c7094f1f
@ -1,3 +1,4 @@
|
||||
form {
|
||||
text-align: center;
|
||||
button {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
@ -28,9 +28,7 @@
|
||||
<li><strong>Block requests for missing resources:</strong> If a website requests an external resource that LocalCDN cannot deliver, this resource will be loaded from a CDN. For maximum privacy, you can disable this in the settings.</li>
|
||||
<li><strong>Google fonts are blocked by default:</strong> If you want to load these external fonts from Google for all websites or only for certain websites, you can also change this in the settings.</li>
|
||||
</ul>
|
||||
<form action="../options/options.html">
|
||||
<input type="submit" value="Open settings" />
|
||||
</form>
|
||||
<button id="open-settings">Open settings</button>
|
||||
</div>
|
||||
<div class="btn-panel">
|
||||
<a class="btn btn-gitlab" href="https://codeberg.org/nobody/LocalCDN" target="_blank" rel="noopener noreferrer"><span class="btn-text">Source Code @Codeberg</span></a>
|
||||
|
@ -30,6 +30,7 @@ welcome._onDocumentLoaded = function () {
|
||||
if (!BrowserType.FIREFOX) {
|
||||
document.getElementById('chromium-banner').style.display = 'block';
|
||||
}
|
||||
document.getElementById('open-settings').addEventListener('mouseup', function () { chrome.runtime.openOptionsPage(); });
|
||||
};
|
||||
|
||||
document.addEventListener('DOMContentLoaded', welcome._onDocumentLoaded);
|
||||
|
Loading…
Reference in New Issue
Block a user