Skip to content

v0.9.1

Choose a tag to compare

@remusao remusao released this 03 May 15:44
· 5508 commits to master since this release
fc2af49
  • Optimize getCosmeticsFilters #158
    • [BREAKING] CosmeticFilterBucket.getCosmeticsFilters(...) now
      returns { injections: CosmeticFilter[]; stylesheet: string }
    • Internally CosmeticFilterBucket will do much less work to get
      cosmetic filters. In particular, we pre-compute a base stylesheet with
      all generic hide filters not having any corresponding unhide (#@#)
      rule in the bucket (that's most of the filters). This means we only need
      to apply exceptions and compute dynamic stylesheets for a minority of
      filters (~4%).
    • Add benchmark for getCosmeticsFilters.
  • Drop RegExp in network filters #156