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

uBlock 0.9.5.17

Compare
Choose a tag to compare
@uBlockAdmin uBlockAdmin released this 03 Jul 06:54

Performance and memory related changes

  1. Special treatment for hostname-anchored (||) filters having wildcard characters. These filters are categorized into three types. The purpose is to convert regex based filter internally into plain string based filters.
    1. Filters having a single occurrence of pattern ^* after the hostname and no other wildcard character on another side of this pattern.
      ||.cloudfront.net^F2P_SideBar_Banner_EN.jpg
      ||2mdn.net^/1x1image.jpg$image
      ||2mdn.
      ^
      /1x1image.jpg$image
    2. Filters having a single occurrence of wildcard character * after the hostname and no other wildcard character on another side of it.
      ||*.cloudfront.net/wp-content/F2P_SideBar_Banner_EN.jpg
      ||cloudfront.net/wp-content/F2P_SideBar_Banner_EN.jpg
      ||www.google.
      /aclk?
      ^/am=&adurl=
      ||i.com.com/wp-content/*F2P_SideBar_Banner_EN.jpg
    3. Other filters
      ||cloud*.net^$third-party
      @@||doubleclick.net/adi/mlb.mlb/*^free_agent_tracker_12^$subdocument,domain=mlb.com
  2. Now hostname-anchored (||) filters matches hostname in URL accurately.
    ||*-aaa.net^$third-party
  3. Filters having a single occurrence of wildcard character * converted internally into plain string based filters.
    @@/cdn-cgi/pe/bag2?googleadservices.com%2Fpagead%2Fconversion.js$xmlhttprequest,domain=ethica.net.au|factom.org|gogoonhold.com.au
    /cdn-cgi/pe/bag2?r
    .qualitypublishers.com
  4. Using singleton object in case of any match URL filter.
    $script,third-party,domain=0dt.net|123videos.tv
  5. Ignore token if it is preceded by * characters in Token generate logic