1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-14 23:12:28 +02:00

support redirection of network requests of type "media"

This commit is contained in:
gorhill 2016-07-14 13:31:00 -04:00
parent dcb6e87c1f
commit bc62af8bf5

View File

@ -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;
})();