A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/gorhill/uBlock/commit/1d805fb9da1aad918d02cc74796d5aa5e974b184 below:

Add support for `!#if false` in list directive processor · gorhill/uBlock@1d805fb · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+5

-2

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+5

-2

lines changed Original file line number Diff line number Diff line change

@@ -957,8 +957,10 @@

957 957

if ( target ) { expr = expr.slice(1); }

958 958

const token = this.processDirectives.tokens.get(expr);

959 959

const startDiscard =

960 +

token === 'false' &&

961 +

target === false ||

960 962

token !== undefined &&

961 -

vAPI.webextFlavor.soup.has(token) === target;

963 +

vAPI.webextFlavor.soup.has(token) === target;

962 964

if ( discard === false && startDiscard ) {

963 965

parts.push(content.slice(beg, match.index));

964 966

discard = true;

@@ -995,7 +997,8 @@

995 997

[ 'env_mobile', 'mobile' ],

996 998

[ 'env_safari', 'safari' ],

997 999

[ 'cap_html_filtering', 'html_filtering' ],

998 -

[ 'cap_user_stylesheet', 'user_stylesheet' ]

1000 +

[ 'cap_user_stylesheet', 'user_stylesheet' ],

1001 +

[ 'false', 'false' ],

999 1002

]);

1000 1003 1001 1004

/******************************************************************************/

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4