A RetroSearch Logo

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

Search Query:

Showing content from https://github.com/gorhill/uBlock/commit/19f8b30d577ac17097b8060adfc92093866e26d8 below:

`to=[list of domain names]` · gorhill/uBlock@19f8b30 · GitHub

@@ -2348,11 +2348,11 @@ const OPTTokenCsp = 8;

2348 2348

const OPTTokenCss = 9;

2349 2349

const OPTTokenDenyAllow = 10;

2350 2350

const OPTTokenDoc = 11;

2351 -

const OPTTokenDomain = 12;

2352 -

const OPTTokenEhide = 13;

2353 -

const OPTTokenEmpty = 14;

2354 -

const OPTTokenFont = 15;

2355 -

const OPTTokenFrame = 16;

2351 +

const OPTTokenEhide = 12;

2352 +

const OPTTokenEmpty = 13;

2353 +

const OPTTokenFont = 14;

2354 +

const OPTTokenFrame = 15;

2355 +

const OPTTokenFrom = 16;

2356 2356

const OPTTokenGenericblock = 17;

2357 2357

const OPTTokenGhide = 18;

2358 2358

const OPTTokenHeader = 19;

@@ -2374,11 +2374,12 @@ const OPTTokenRedirectRule = 34;

2374 2374

const OPTTokenRemoveparam = 35;

2375 2375

const OPTTokenScript = 36;

2376 2376

const OPTTokenShide = 37;

2377 -

const OPTTokenXhr = 38;

2378 -

const OPTTokenWebrtc = 39;

2379 -

const OPTTokenWebsocket = 40;

2380 -

const OPTTokenMethod = 41;

2381 -

const OPTTokenCount = 42;

2377 +

const OPTTokenTo = 38;

2378 +

const OPTTokenXhr = 39;

2379 +

const OPTTokenWebrtc = 40;

2380 +

const OPTTokenWebsocket = 41;

2381 +

const OPTTokenMethod = 42;

2382 +

const OPTTokenCount = 43;

2382 2383 2383 2384

//const OPTPerOptionMask = 0x0000ff00;

2384 2385

const OPTCanNegate = 1 << 8;

@@ -2449,12 +2450,14 @@ Parser.prototype.OPTTokenAll = OPTTokenAll;

2449 2450

Parser.prototype.OPTTokenBadfilter = OPTTokenBadfilter;

2450 2451

Parser.prototype.OPTTokenCname = OPTTokenCname;

2451 2452

Parser.prototype.OPTTokenCsp = OPTTokenCsp;

2453 +

Parser.prototype.OPTTokenCss = OPTTokenCss;

2452 2454

Parser.prototype.OPTTokenDenyAllow = OPTTokenDenyAllow;

2453 2455

Parser.prototype.OPTTokenDoc = OPTTokenDoc;

2454 -

Parser.prototype.OPTTokenDomain = OPTTokenDomain;

2455 2456

Parser.prototype.OPTTokenEhide = OPTTokenEhide;

2456 2457

Parser.prototype.OPTTokenEmpty = OPTTokenEmpty;

2457 2458

Parser.prototype.OPTTokenFont = OPTTokenFont;

2459 +

Parser.prototype.OPTTokenFrame = OPTTokenFrame;

2460 +

Parser.prototype.OPTTokenFrom = OPTTokenFrom;

2458 2461

Parser.prototype.OPTTokenGenericblock = OPTTokenGenericblock;

2459 2462

Parser.prototype.OPTTokenGhide = OPTTokenGhide;

2460 2463

Parser.prototype.OPTTokenHeader = OPTTokenHeader;

@@ -2477,8 +2480,7 @@ Parser.prototype.OPTTokenRedirect = OPTTokenRedirect;

2477 2480

Parser.prototype.OPTTokenRedirectRule = OPTTokenRedirectRule;

2478 2481

Parser.prototype.OPTTokenScript = OPTTokenScript;

2479 2482

Parser.prototype.OPTTokenShide = OPTTokenShide;

2480 -

Parser.prototype.OPTTokenCss = OPTTokenCss;

2481 -

Parser.prototype.OPTTokenFrame = OPTTokenFrame;

2483 +

Parser.prototype.OPTTokenTo = OPTTokenTo;

2482 2484

Parser.prototype.OPTTokenXhr = OPTTokenXhr;

2483 2485

Parser.prototype.OPTTokenWebrtc = OPTTokenWebrtc;

2484 2486

Parser.prototype.OPTTokenWebsocket = OPTTokenWebsocket;

@@ -2512,12 +2514,13 @@ const netOptionTokenDescriptors = new Map([

2512 2514

[ 'denyallow', OPTTokenDenyAllow | OPTMustAssign | OPTDomainList | OPTNeedDomainOpt | OPTNonCspableType ],

2513 2515

[ 'doc', OPTTokenDoc | OPTNetworkType | OPTCanNegate | OPTModifiableType | OPTRedirectableType ],

2514 2516

/* synonym */ [ 'document', OPTTokenDoc | OPTNetworkType | OPTCanNegate | OPTModifiableType | OPTRedirectableType ],

2515 -

[ 'domain', OPTTokenDomain | OPTMustAssign | OPTDomainList ],

2516 2517

[ 'ehide', OPTTokenEhide | OPTNonNetworkType | OPTNonCspableType | OPTNonRedirectableType ],

2517 2518

/* synonym */ [ 'elemhide', OPTTokenEhide | OPTNonNetworkType | OPTNonCspableType | OPTNonRedirectableType ],

2518 2519

[ 'empty', OPTTokenEmpty | OPTBlockOnly | OPTModifierType ],

2519 2520

[ 'frame', OPTTokenFrame | OPTCanNegate | OPTNetworkType | OPTModifiableType | OPTRedirectableType ],

2520 2521

/* synonym */ [ 'subdocument', OPTTokenFrame | OPTCanNegate | OPTNetworkType | OPTModifiableType | OPTRedirectableType ],

2522 +

[ 'from', OPTTokenFrom | OPTMustAssign | OPTDomainList ],

2523 +

/* synonym */ [ 'domain', OPTTokenFrom | OPTMustAssign | OPTDomainList ],

2521 2524

[ 'font', OPTTokenFont | OPTCanNegate | OPTNetworkType | OPTModifiableType | OPTNonCspableType ],

2522 2525

[ 'genericblock', OPTTokenGenericblock | OPTNotSupported ],

2523 2526

[ 'ghide', OPTTokenGhide | OPTNonNetworkType | OPTNonCspableType | OPTNonRedirectableType ],

@@ -2547,6 +2550,7 @@ const netOptionTokenDescriptors = new Map([

2547 2550

[ 'script', OPTTokenScript | OPTCanNegate | OPTNetworkType | OPTModifiableType | OPTRedirectableType | OPTNonCspableType ],

2548 2551

[ 'shide', OPTTokenShide | OPTNonNetworkType | OPTNonCspableType | OPTNonRedirectableType ],

2549 2552

/* synonym */ [ 'specifichide', OPTTokenShide | OPTNonNetworkType | OPTNonCspableType | OPTNonRedirectableType ],

2553 +

[ 'to', OPTTokenTo | OPTMustAssign | OPTDomainList ],

2550 2554

[ 'xhr', OPTTokenXhr | OPTCanNegate | OPTNetworkType | OPTModifiableType | OPTRedirectableType | OPTNonCspableType ],

2551 2555

/* synonym */ [ 'xmlhttprequest', OPTTokenXhr | OPTCanNegate | OPTNetworkType | OPTModifiableType | OPTRedirectableType | OPTNonCspableType ],

2552 2556

[ 'webrtc', OPTTokenWebrtc | OPTNotSupported ],

@@ -2572,7 +2576,8 @@ Parser.netOptionTokenIds = new Map([

2572 2576

[ 'denyallow', OPTTokenDenyAllow ],

2573 2577

[ 'doc', OPTTokenDoc ],

2574 2578

/* synonym */ [ 'document', OPTTokenDoc ],

2575 -

[ 'domain', OPTTokenDomain ],

2579 +

[ 'from', OPTTokenFrom ],

2580 +

/* synonym */ [ 'domain', OPTTokenFrom ],

2576 2581

[ 'ehide', OPTTokenEhide ],

2577 2582

/* synonym */ [ 'elemhide', OPTTokenEhide ],

2578 2583

[ 'empty', OPTTokenEmpty ],

@@ -2625,11 +2630,11 @@ Parser.netOptionTokenNames = new Map([

2625 2630

[ OPTTokenCss, 'stylesheet' ],

2626 2631

[ OPTTokenDenyAllow, 'denyallow' ],

2627 2632

[ OPTTokenDoc, 'document' ],

2628 -

[ OPTTokenDomain, 'domain' ],

2629 2633

[ OPTTokenEhide, 'elemhide' ],

2630 2634

[ OPTTokenEmpty, 'empty' ],

2631 2635

[ OPTTokenFrame, 'subdocument' ],

2632 2636

[ OPTTokenFont, 'font' ],

2637 +

[ OPTTokenFrom, 'from' ],

2633 2638

[ OPTTokenGenericblock, 'genericblock' ],

2634 2639

[ OPTTokenGhide, 'generichide' ],

2635 2640

[ OPTTokenHeader, 'header' ],

@@ -2652,6 +2657,7 @@ Parser.netOptionTokenNames = new Map([

2652 2657

[ OPTTokenRedirectRule, 'redirect-rule' ],

2653 2658

[ OPTTokenScript, 'script' ],

2654 2659

[ OPTTokenShide, 'specifichide' ],

2660 +

[ OPTTokenTo, 'to' ],

2655 2661

[ OPTTokenXhr, 'xmlhttprequest' ],

2656 2662

[ OPTTokenWebrtc, 'webrtc' ],

2657 2663

[ OPTTokenWebsocket, 'websocket' ],

@@ -2802,7 +2808,7 @@ const NetOptionsIterator = class {

2802 2808

if ( this.interactive && hasBits(descriptor, OPTDomainList) ) {

2803 2809

this.parser.analyzeDomainList(

2804 2810

lval + 3, i, BITPipe,

2805 -

tokenId === OPTTokenDomain ? 0b1010 : 0b0000

2811 +

tokenId === OPTTokenDenyAllow ? 0b0000 : 0b1010

2806 2812

);

2807 2813

}

2808 2814

} else {

@@ -2825,7 +2831,7 @@ const NetOptionsIterator = class {

2825 2831

// `denyallow=` option requires `domain=` option.

2826 2832

{

2827 2833

const i = this.tokenPos[OPTTokenDenyAllow];

2828 -

if ( i !== -1 && this.tokenPos[OPTTokenDomain] === -1 ) {

2834 +

if ( i !== -1 && this.tokenPos[OPTTokenFrom] === -1 ) {

2829 2835

optSlices[i] = OPTTokenInvalid;

2830 2836

if ( this.interactive ) {

2831 2837

this.parser.errorSlices(optSlices[i+1], optSlices[i+5]);


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