1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-06 19:02:30 +01:00
This commit is contained in:
gorhill 2014-09-22 11:30:57 -04:00
parent 8bb97040ee
commit 4f780dd555

View File

@ -52,8 +52,8 @@ const AnyParty = 0 << 2;
const FirstParty = 1 << 2;
const ThirdParty = 2 << 2;
const AnyType = 1 << 4;
var typeNameToTypeValue = {
'any': 1 << 4,
'stylesheet': 2 << 4,
'image': 3 << 4,
'object': 4 << 4,
@ -63,7 +63,6 @@ var typeNameToTypeValue = {
'other': 8 << 4,
'popup': 9 << 4
};
const AnyType = typeNameToTypeValue.any;
const BlockAnyTypeAnyParty = BlockAction | AnyType | AnyParty;
const BlockAnyType1stParty = BlockAction | AnyType | FirstParty;