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>
|
<div class="description-option without-checkbox" data-i18n-content="whitelistedDomainsDescription"></div>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
<div class="option-group">
|
<div id="html-filter-div" class="option-group">
|
||||||
<section class="option">
|
<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-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>
|
<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();
|
options._renderLocaleNotice();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(BrowserType.CHROMIUM) {
|
||||||
|
document.getElementById('html-filter-div').hidden = true;
|
||||||
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
options._renderOptionsPanel = function () {
|
options._renderOptionsPanel = function () {
|
||||||
|
|
Loading…
Reference in New Issue