From d7bebc98f72c69028e57fa7729f342770e3ad13a Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Fri, 24 Aug 2018 18:28:06 -0400 Subject: [PATCH] normalize to for better duplicate detection with uBO-specific syntax --- src/js/static-ext-filtering.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/js/static-ext-filtering.js b/src/js/static-ext-filtering.js index dea5ad303..66c3e3ba0 100644 --- a/src/js/static-ext-filtering.js +++ b/src/js/static-ext-filtering.js @@ -1,7 +1,7 @@ /******************************************************************************* uBlock Origin - a browser extension to block requests. - Copyright (C) 2017-2018 Raymond Hill + Copyright (C) 2017-present Raymond Hill This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -219,8 +219,8 @@ // https://github.com/gorhill/uBlock/issues/2793 var normalizedOperators = new Map([ [ ':-abp-contains', ':has-text' ], - [ ':-abp-has', ':if' ], - [ ':contains', ':has-text' ] + [ ':-abp-has', ':has' ], + [ ':contains', ':has-text' ], ]); var compileArgument = new Map([