1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2024-12-23 16:44:34 +01:00

Fixed: Invert HTML Filter option breaks sourcecode view (#234)

This commit is contained in:
nobody 2021-01-15 06:21:35 +01:00
parent 0f42af97fb
commit ffe5ba6b48
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A

View File

@ -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]
); );