mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Add more replace-able types
Reference: https://en.wikipedia.org/wiki/M3U#Internet_media_types
This commit is contained in:
parent
1aa92c7570
commit
ae24032607
1 changed files with 7 additions and 2 deletions
|
|
@ -679,10 +679,15 @@ const bodyFilterer = (( ) => {
|
|||
const otherValidMimes = new Set([
|
||||
'application/javascript',
|
||||
'application/json',
|
||||
'application/vnd.apple.mpegurl',
|
||||
'application/mpegurl',
|
||||
'application/vnd.api+json',
|
||||
'application/xml',
|
||||
'application/vnd.apple.mpegurl',
|
||||
'application/vnd.apple.mpegurl.audio',
|
||||
'application/x-mpegurl',
|
||||
'application/xhtml+xml',
|
||||
'application/xml',
|
||||
'audio/mpegurl',
|
||||
'audio/x-mpegurl',
|
||||
]);
|
||||
const BINARY_TYPES = fc.FONT | fc.IMAGE | fc.MEDIA | fc.WEBSOCKET;
|
||||
const MAX_BUFFER_LENGTH = 3 * 1024 * 1024;
|
||||
|
|
|
|||
Loading…
Reference in a new issue