mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-23 10:52:43 +01: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
@ -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 New Issue
Block a user