mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-06-05 21:49:31 +02:00
Fixed: HTML filter (#277)
This commit is contained in:
@@ -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">
|
||||||
|
Reference in New Issue
Block a user