mirror of https://github.com/gorhill/uBlock.git
fix #3187 again, as per feedback
This commit is contained in:
parent
22c460d52f
commit
8d44bf9837
|
@ -58,6 +58,7 @@ var typeNameToTypeValue = {
|
||||||
'stylesheet': 1 << 4,
|
'stylesheet': 1 << 4,
|
||||||
'image': 2 << 4,
|
'image': 2 << 4,
|
||||||
'object': 3 << 4,
|
'object': 3 << 4,
|
||||||
|
'object_subrequest': 3 << 4,
|
||||||
'script': 4 << 4,
|
'script': 4 << 4,
|
||||||
'xmlhttprequest': 5 << 4,
|
'xmlhttprequest': 5 << 4,
|
||||||
'sub_frame': 6 << 4,
|
'sub_frame': 6 << 4,
|
||||||
|
@ -1388,9 +1389,8 @@ FilterParser.prototype.toNormalizedType = {
|
||||||
'inline-script': 'inline-script',
|
'inline-script': 'inline-script',
|
||||||
'media': 'media',
|
'media': 'media',
|
||||||
'object': 'object',
|
'object': 'object',
|
||||||
'other': 'other',
|
|
||||||
'object-subrequest': 'object',
|
'object-subrequest': 'object',
|
||||||
'object_subrequest': 'object',
|
'other': 'other',
|
||||||
'ping': 'other',
|
'ping': 'other',
|
||||||
'popunder': 'popunder',
|
'popunder': 'popunder',
|
||||||
'popup': 'popup',
|
'popup': 'popup',
|
||||||
|
|
Loading…
Reference in New Issue