Improved handling when HTML filter is not supported
This commit is contained in:
parent
34b1ee18b3
commit
500f00c969
|
@ -28,8 +28,8 @@ var manipulateDOM = {};
|
||||||
|
|
||||||
manipulateDOM._removeCrossOriginAndIntegrityAttr = function (details) {
|
manipulateDOM._removeCrossOriginAndIntegrityAttr = function (details) {
|
||||||
|
|
||||||
if(BrowserType.CHROMIUM) {
|
if(!BrowserType.FIREFOX) {
|
||||||
// Chromium browsers do not support webRequest.filterResponseData
|
// Chromium (and other) browsers do not support webRequest.filterResponseData
|
||||||
// https://bugs.chromium.org/p/chromium/issues/detail?id=487422
|
// https://bugs.chromium.org/p/chromium/issues/detail?id=487422
|
||||||
console.warn('[ LocalCDN ] browser.webRequest.filterResponseData not supported by your browser.');
|
console.warn('[ LocalCDN ] browser.webRequest.filterResponseData not supported by your browser.');
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue