mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
support redirection of network requests of type "media"
This commit is contained in:
parent
dcb6e87c1f
commit
bc62af8bf5
1 changed files with 4 additions and 3 deletions
|
@ -294,13 +294,14 @@ RedirectEngine.prototype.reFilterParser = /^(?:\|\|([^\/:?#^*]+)|\*)([^$]+)\$([^
|
|||
|
||||
RedirectEngine.prototype.supportedTypes = (function() {
|
||||
var types = Object.create(null);
|
||||
types.stylesheet = 'stylesheet';
|
||||
types.font = 'font';
|
||||
types.image = 'image';
|
||||
types.media = 'media';
|
||||
types.object = 'object';
|
||||
types.script = 'script';
|
||||
types.xmlhttprequest = 'xmlhttprequest';
|
||||
types.stylesheet = 'stylesheet';
|
||||
types.subdocument = 'sub_frame';
|
||||
types.font = 'font';
|
||||
types.xmlhttprequest = 'xmlhttprequest';
|
||||
return types;
|
||||
})();
|
||||
|
||||
|
|
Loading…
Reference in a new issue