From 8d44bf983706aa44f96513386a3f1a7630da6ff1 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 4c157c04e..c32281520 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, @@ -1388,9 +1389,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',