Fixed: HTML filter (#277)
This commit is contained in:
parent
9bca268a98
commit
ad00d4c3a8
|
@ -34,7 +34,7 @@ manipulateDOM._removeCrossOriginAndIntegrityAttr = function (details) {
|
||||||
console.warn('[ LocalCDN ] browser.webRequest.filterResponseData not supported by your browser.');
|
console.warn('[ LocalCDN ] browser.webRequest.filterResponseData not supported by your browser.');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (details.statusCode === 200) {
|
||||||
let initiatorDomain, listedToManipulateDOM, negateHtmlFilter, filtering, header;
|
let initiatorDomain, listedToManipulateDOM, negateHtmlFilter, filtering, header;
|
||||||
|
|
||||||
initiatorDomain = helpers.extractDomainFromUrl(details.url, true) || Address.EXAMPLE;
|
initiatorDomain = helpers.extractDomainFromUrl(details.url, true) || Address.EXAMPLE;
|
||||||
|
@ -119,6 +119,7 @@ manipulateDOM._removeCrossOriginAndIntegrityAttr = function (details) {
|
||||||
return {'responseHeaders': details.responseHeaders};
|
return {'responseHeaders': details.responseHeaders};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
New in LocalCDN:
|
New in LocalCDN:
|
||||||
</div>
|
</div>
|
||||||
<ul>
|
<ul>
|
||||||
<li></li>
|
<li>Fixed: Check status code in HTML filter (<a href="https://codeberg.org/nobody/LocalCDN/issues/277">#277</a>)</li>
|
||||||
</ul>
|
</ul>
|
||||||
<div id="generator-section">
|
<div id="generator-section">
|
||||||
<div class="topic-label">
|
<div class="topic-label">
|
||||||
|
|
Loading…
Reference in New Issue