mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2024-12-29 11:30:09 +01:00
Hide incompatible options for Chromium based browsers
This commit is contained in:
parent
f310d3ee0e
commit
6aed2a9cef
@ -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 () {
|
||||
|
Loading…
Reference in New Issue
Block a user