mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-06-05 21:49:31 +02:00
Hide incompatible options for Chromium based browsers
This commit is contained in:
@@ -109,7 +109,7 @@
|
||||
<div class="description-option without-checkbox" data-i18n-content="whitelistedDomainsDescription"></div>
|
||||
</section>
|
||||
</div>
|
||||
<div class="option-group">
|
||||
<div id="html-filter-div" class="option-group">
|
||||
<section class="option">
|
||||
<div id="html-filter-domains-title-exclude" class="title-option without-checkbox" data-i18n-content="htmlFilterDomainsTitleExclude">Do not apply HTML filter to these domains:</div>
|
||||
<div id="html-filter-domains-title-include" class="title-option without-checkbox" data-i18n-content="htmlFilterDomainsTitleInclude">Apply HTML filter to these domains:</div>
|
||||
|
@@ -42,6 +42,10 @@ options._renderContents = function () {
|
||||
options._renderLocaleNotice();
|
||||
}
|
||||
|
||||
if(BrowserType.CHROMIUM) {
|
||||
document.getElementById('html-filter-div').hidden = true;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
options._renderOptionsPanel = function () {
|
||||
|
Reference in New Issue
Block a user