From f9b74dddf1545d3e868a1140d8cc48331975ac20 Mon Sep 17 00:00:00 2001 From: gorhill Date: Fri, 3 Nov 2017 16:51:28 -0400 Subject: [PATCH] fix #3187 again, as per feedback --- src/js/static-net-filtering.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/static-net-filtering.js b/src/js/static-net-filtering.js index aa011323c..8edf0df3c 100644 --- a/src/js/static-net-filtering.js +++ b/src/js/static-net-filtering.js @@ -58,6 +58,7 @@ var typeNameToTypeValue = { 'stylesheet': 1 << 4, 'image': 2 << 4, 'object': 3 << 4, + 'object_subrequest': 3 << 4, 'script': 4 << 4, 'xmlhttprequest': 5 << 4, 'sub_frame': 6 << 4, @@ -1387,9 +1388,8 @@ FilterParser.prototype.toNormalizedType = { 'inline-script': 'inline-script', 'media': 'media', 'object': 'object', - 'other': 'other', 'object-subrequest': 'object', - 'object_subrequest': 'object', + 'other': 'other', 'ping': 'other', 'popunder': 'popunder', 'popup': 'popup',