mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-02-17 04:10:53 +01:00
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.');
|
||||
return;
|
||||
}
|
||||
|
||||
if (details.statusCode === 200) {
|
||||
let initiatorDomain, listedToManipulateDOM, negateHtmlFilter, filtering, header;
|
||||
|
||||
initiatorDomain = helpers.extractDomainFromUrl(details.url, true) || Address.EXAMPLE;
|
||||
@ -119,6 +119,7 @@ manipulateDOM._removeCrossOriginAndIntegrityAttr = function (details) {
|
||||
return {'responseHeaders': details.responseHeaders};
|
||||
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
New in LocalCDN:
|
||||
</div>
|
||||
<ul>
|
||||
<li></li>
|
||||
<li>Fixed: Check status code in HTML filter (<a href="https://codeberg.org/nobody/LocalCDN/issues/277">#277</a>)</li>
|
||||
</ul>
|
||||
<div id="generator-section">
|
||||
<div class="topic-label">
|
||||
|
Loading…
x
Reference in New Issue
Block a user