Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

uBlock 0.9.5.16

Compare
Choose a tag to compare
@uBlockAdmin uBlockAdmin released this 27 May 05:55

Made blocking 3x times faster

  1. Special handling is given to filters which had to match against document origin only. The filter will only be considered if it satisfies the given criteria.

    • Should be in the form of /czf*. (without token) or |https:// or |http:// or *
    • Should have domain= option
    • Should not have a negated domain in its domain= option
    • Should not have csp= option

    examples:
    |http://$image,script,subdocument,third-party,xmlhttprequest,domain=dwindly.io
    |https://$image,other,script,stylesheet,third-party,domain=movies123.xyz
    $websocket,domain=povw1deo.com|povwideo.net|powvideo.net
    /czf*.$image,domain=100percentfedup.com

    These filters had to be matched against each network request which was causing extra time. Now, these filters will only be considered when document origin matches the domain mentioned in the filter domain= option.

  2. Added google keyword to badTokens list

  3. Replaced substr with startWith method for string pattern matching

  4. Validated regular expression based filter

  5. Code optimizations