1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2025-02-02 04:16:59 +01:00

Toggle for manipulate DOM removed (relates only to chromium)

This commit is contained in:
nobody 2020-06-04 06:54:49 +02:00
parent 5709b0dab6
commit 0aa9406ba3
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
3 changed files with 7 additions and 1 deletions

View File

@ -51,7 +51,7 @@
</div>
</div>
<div class="subpanel">
<div class="subpanel" id="div-manipulateDOM">
<div id="manipulateDOM-toggle">
<label class="switch">
<input type="checkbox" id="manipulateDOM-toggle-switch">

View File

@ -43,6 +43,11 @@ popup._renderContents = function () {
.then(popup._determineStatusManipulateDOM)
.then(popup._determineResourceInjections)
.then(popup._renderContextualContents);
if(BrowserType.CHROMIUM) {
document.getElementById('div-manipulateDOM').hidden = true;
}
};
popup._renderNonContextualContents = function () {

View File

@ -29,6 +29,7 @@
<li>Updated welcome page</li>
<li>Updated URL for missing translation in option page</li>
<li>Added note about missing translation in popup</li>
<li>Toggle for manipulate DOM removed for Chromium (not supported by Chromium)</li>
</ul>
<div class="topic-label">
Please update your uBlock/uMatrix rules