diff --git a/src/js/background.js b/src/js/background.js index 541d29040..aa5489fe7 100644 --- a/src/js/background.js +++ b/src/js/background.js @@ -87,7 +87,7 @@ return { // read-only systemSettings: { - compiledMagic: 'perhodsoahya', + compiledMagic: 'cjrthpvolupa', selfieMagic: 'spqmeuaftfra' }, diff --git a/src/js/static-net-filtering.js b/src/js/static-net-filtering.js index 324fb778d..0bc49a86a 100644 --- a/src/js/static-net-filtering.js +++ b/src/js/static-net-filtering.js @@ -62,7 +62,8 @@ var typeNameToTypeValue = { 'script': 4 << 4, 'xmlhttprequest': 5 << 4, 'sub_frame': 6 << 4, - 'other': 7 << 4, + 'font': 7 << 4, + 'other': 8 << 4, 'cosmetic-filtering': 13 << 4, 'inline-script': 14 << 4, 'popup': 15 << 4 @@ -1194,8 +1195,8 @@ FilterParser.prototype.toNormalizedType = { 'script': 'script', 'xmlhttprequest': 'xmlhttprequest', 'subdocument': 'sub_frame', + 'font': 'font', 'other': 'other', - 'document': 'main_frame', 'elemhide': 'cosmetic-filtering', 'inline-script': 'inline-script', 'popup': 'popup' @@ -1296,14 +1297,6 @@ FilterParser.prototype.parseOptions = function(s) { this.unsupported = true; break; } - if ( opt === 'document' ) { - if ( this.action === BlockAction ) { - this.parseOptType('document', false); - continue; - } - this.unsupported = true; - break; - } if ( this.toNormalizedType.hasOwnProperty(opt) ) { this.parseOptType(opt, not); continue;