mirror of https://github.com/gorhill/uBlock.git
support redirection of network requests of type "media"
This commit is contained in:
parent
dcb6e87c1f
commit
bc62af8bf5
|
@ -294,13 +294,14 @@ RedirectEngine.prototype.reFilterParser = /^(?:\|\|([^\/:?#^*]+)|\*)([^$]+)\$([^
|
||||||
|
|
||||||
RedirectEngine.prototype.supportedTypes = (function() {
|
RedirectEngine.prototype.supportedTypes = (function() {
|
||||||
var types = Object.create(null);
|
var types = Object.create(null);
|
||||||
types.stylesheet = 'stylesheet';
|
types.font = 'font';
|
||||||
types.image = 'image';
|
types.image = 'image';
|
||||||
|
types.media = 'media';
|
||||||
types.object = 'object';
|
types.object = 'object';
|
||||||
types.script = 'script';
|
types.script = 'script';
|
||||||
types.xmlhttprequest = 'xmlhttprequest';
|
types.stylesheet = 'stylesheet';
|
||||||
types.subdocument = 'sub_frame';
|
types.subdocument = 'sub_frame';
|
||||||
types.font = 'font';
|
types.xmlhttprequest = 'xmlhttprequest';
|
||||||
return types;
|
return types;
|
||||||
})();
|
})();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue