• XLE@piefed.social
    link
    fedilink
    English
    arrow-up
    19
    ·
    edit-2
    22 hours ago

    isn’t ublock’s filtering compiled to webassembly?

    From my unprofessional glance ar their repository, it uses a little, but not much. Take a look at their code; all or most of the filtering is done in JavaScript, the webassembly appears to be just one two modules. (It’s in the “wasm” folder near the top of the list).

    (Edit: I was looking at outdated code; the newer version uses more, but IMO pales in comparison to the JavaScript filtering logic)

    seems a bit dangerous though to risk for a browser with so small market share

    Waterfox has a much smaller market share and much smaller budget, and was able to clear this with search partners just by promising not to block ads on them by default.

    • WhyJiffie@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      11
      ·
      19 hours ago

      Waterfox has a much smaller market share and much smaller budget, and was able to clear this with search partners just by promising not to block ads on them by default.

      my point is not actually about search providers, but more generally websites intentionally breaking support for gecko based browsers. waterfox itself is too little, most developers don’t even know about it I think. but firefox is the flagship/reference gecko browser, with more of a measurable number of users. if they implement a good ad blocker in the base browser, that could discourage advertising related sites from serving/supporting this browser.

      brave is different in that it uses chromium, which the sites just happen to support already because of chrome. but firefox support is often not a priority even today