mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2024-12-24 01:08:20 +01:00
Fixed: Invert HTML Filter option breaks sourcecode view (#234)
This commit is contained in:
parent
0f42af97fb
commit
ffe5ba6b48
@ -124,6 +124,6 @@ manipulateDOM._removeCrossOriginAndIntegrityAttr = function (details) {
|
|||||||
|
|
||||||
chrome.webRequest.onHeadersReceived.addListener(
|
chrome.webRequest.onHeadersReceived.addListener(
|
||||||
manipulateDOM._removeCrossOriginAndIntegrityAttr,
|
manipulateDOM._removeCrossOriginAndIntegrityAttr,
|
||||||
{'types': [WebRequestType.MAIN_FRAME], 'urls': [Address.ANY]},
|
{'types': [WebRequestType.MAIN_FRAME], 'urls': [Address.HTTPS, Address.HTTP]},
|
||||||
[WebRequest.BLOCKING, WebRequest.RESPONSE_HEADERS]
|
[WebRequest.BLOCKING, WebRequest.RESPONSE_HEADERS]
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user