webextensions VS uBlock

Compare webextensions vs uBlock and see what are their differences.

webextensions

Charter and administrivia for the WebExtensions Community Group (WECG) (by w3c)

uBlock

uBlock Origin - An efficient blocker for Chromium and Firefox. Fast and lean. (by gorhill)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
webextensions uBlock
37 2,992
562 43,126
1.4% -
8.3 9.9
4 days ago 13 days ago
Bikeshed JavaScript
GNU General Public License v3.0 or later GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

webextensions

Posts with mentions or reviews of webextensions. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-30.
  • Show HN: I made a CLI tool to create web extensions with no build configuration
    7 projects | news.ycombinator.com | 30 Apr 2024
  • Chrome's next weapon in the War on Ad Blockers: Slower extension updates
    7 projects | news.ycombinator.com | 1 Dec 2023
    I've edited my comment to also include a link to the Chrome docs, but that FAQ entry also has the link to an issue in the webextensions repository indicating it's a limitation of MV3: https://github.com/w3c/webextensions/issues/112
  • There are no strings on me
    2 projects | news.ycombinator.com | 25 Nov 2023
    Google outlawing dynamic code in Web Extensions/mv3 is a travesty of high order. There's no place I want to be able to be more alive than my agents. Yet my agents must all be dead. For shame, ye villains.

    https://github.com/w3c/webextensions/issues/139

    This post definitely was quite a technical explanation. The opening framing, to me, means the world.

  • Chrome Users Beware: Manifest V3 Is Deceitful and Threatening – EFF
    2 projects | news.ycombinator.com | 17 Nov 2023
    The other big change of mv3 that gets no coverage but which is dear to me is that mv3 outlaws any kind of dynamic code. The whole app has to be statically defined. This makes it much easier to know what's running, since an extension can no longer go pull in extra code, but it greatly reduces what you can do as an extension too. Extensions have to have all behaviors predefined. I can't dial home & load my behaviors. Here's the issue, https://github.com/w3c/webextensions/issues/139

    For a while it meant that userscripts didn't have any way to run. So Google introduced a new API for user scripting. But those extensions only run in "developer" mode. I'm guessing that means when devtools are open?

    I agree a lot with your premise. It sure seems like Google is targeting everyone with these changes, but that better real affordances & escape hatches need to be builtin to not maim the lives of power users. It took a long long time to come up with a userscript solution, and it seems like an awful doesnt-work-for-me workaround (I use userscripts not to dev but to modify everyday experiences). Chrome just hasn't been taking their obligation to user agency seriously.

  • Firefox users may import Chrome extensions now
    2 projects | news.ycombinator.com | 24 Aug 2023
    > the extension APIs are standardised enough that this is actually possible a lot of the time

    A bit off topic, but as a co-chair of the WebExtensions Community Group[1] (WECG) I'm a bit touchy about the calling WebExtensions "standardized." A few years back the Browser Extensions Community Group[2] created a spec for WebExtensions, but it never reached a state that we'd normally refer to as a web standard. (Technically W3C community groups can only produce "Reports" and these documents are not on the standards track.[3])

    FWIW, I'm very bullish about specifying and (hopefully) standardizing the WebExtensions platform. I'm especially excited about having a good chunk of dedicated time to sit with browser folks at TPAC 2023[4] and try to work out some open questions about where we're going and how we're going to get there.

    [1]: https://github.com/w3c/webextensions/

  • uBlock Origin Lite now available on Firefox
    7 projects | news.ycombinator.com | 21 Aug 2023
    While I was trying to find out what Firefox's limits are I came across this interesting issue on the W3C's webextensions repo: https://github.com/w3c/webextensions/issues/319

    4 days ago the Chromium developers proposed upping the limit for certain types of declarativeNetRequest rules based on data AdGuard provided on real world rule lists.

  • Google's trying to DRM the internet, and we have to make sure they fail
    1 project | /r/linux | 24 Jul 2023
    Manifest v3 is used for Chrome's extensions system. The proposal appears to limit what extensions have access to, and what they can do in Chrome. It is proposed as a W3C standard by Google. It is being tracked at the W3C at https://github.com/w3c/webextensions/issues/44.
  • Manifest V2 Chrome Extension Phaseout Delayed Until 2024
    2 projects | news.ycombinator.com | 1 Apr 2023
    Google is not even close to finishing MV3: "On the userScripts API, the proposal has been merged into the WECG but the engineering work has not started yet." https://github.com/w3c/webextensions/blob/f8f430f1904c2a6fa8...

    MV2 is sticking around until at least 2024.

  • Here’s what’s going on in the world of extensions
    1 project | /r/firefox | 18 Jan 2023
    Some, but not all, limitations are highlighted in this thread: https://github.com/w3c/webextensions/issues/72
  • Firefox 109.0 released
    2 projects | /r/linux | 17 Jan 2023

uBlock

Posts with mentions or reviews of uBlock. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-16.
  • Apr 24th is JavaScript Naked Day – Browse the web without JavaScript
    1 project | news.ycombinator.com | 21 Apr 2024
  • Mobile Ad Blocker Will No Longer Stop YouTube's Ads
    13 projects | news.ycombinator.com | 16 Apr 2024
  • Some notes on Firefox's media autoplay settings in practice as of Firefox 124
    2 projects | news.ycombinator.com | 30 Mar 2024
    Check out uBlock Origin's per site switches [1]

    [1]: https://github.com/gorhill/uBlock/wiki/Per-site-switches#no-...

  • Brave's AI assistant now integrates with PDFs and Google Drive
    6 projects | news.ycombinator.com | 23 Feb 2024
    If ads, in particular on YouTube, are the problem, anything Chromium-based is probably only going to get worse and worse (see [1] and [2]). So that basically leaves you with Firefox and Safari.

    I work for Mozilla (speaking for myself, of course), so I'll leave you to guess which I'd recommend :P

    [1] https://github.com/gorhill/uBlock/wiki/uBlock-Origin-works-b...

    [2] https://arstechnica.com/gadgets/2023/09/googles-widely-oppos...

  • X.org Server Clears Out Remnants for Supporting Old Compilers
    2 projects | news.ycombinator.com | 21 Feb 2024
    https://github.com/gorhill/uBlock

    Or if on mobile, it is well worth it to look up adblock options for the browser you use.

  • Mozilla thinks Apple, Google, Microsoft should play fair
    2 projects | news.ycombinator.com | 27 Jan 2024
    What are the compelling advantages of Chrome nowadays?

    Chrome is working to limit the capabilities of ad blockers:

    https://www.malwarebytes.com/blog/news/2023/11/chrome-pushes...

    Whereas a compelling advantage of Firefox is that uBlock Origin works best in Firefox:

    https://github.com/gorhill/uBlock/wiki/uBlock-Origin-works-b...

    Advertising networks have often been vectors for malware. Using an ad blocker is an important security measure. Even the FBI recommends ad blockers:

    https://www.malwarebytes.com/malvertising

    https://theconversation.com/spyware-can-infect-your-phone-or...

    https://www.ic3.gov/Media/Y2022/PSA221221?=8324278624

  • Brave Leo now uses Mixtral 8x7B as default
    7 projects | news.ycombinator.com | 27 Jan 2024
    > It allows for 30,000 dynamic rules

    That is not what we mean by dynamic filters. From https://developer.chrome.com/blog/improvements-to-content-fi...

    > However, to support more frequent updates and user-defined rules, extensions can add rules dynamically too, without their developers having to upload a new version of the extension to the Chrome Web Store.

    What Chrome is talking about is the ability to specify rules at runtime. What critics of Manifest V3 are talking about is not the ability to dynamically add rules (although that can be an issue), it is the ability to add dynamic rules -- ie rules that analyze and rewrite requests in the style of the blockingWebRequest permission.

    It's a little deceptive to claim that the concerns here are outdated and to point to vague terminology that sounds like it's correcting the problem, but on actual inspection turns out to be entirely separate functionality from what the GP was talking about.

    > Giving this ability to extensions can slow down the browser for the user. These ads can still be blocked through other means.

    This is the debate; most of the adblocking community disagrees with this assertion. uBO maintains a list of some common features that are already not possible to support in Chrome ( https://github.com/gorhill/uBlock/wiki/uBlock-Origin-works-b... ) and has written about features that are not able to be supported via Chrome's current V3 API ( https://github.com/uBlockOrigin/uBOL-home/wiki/Frequently-as... ). Of particular note are filtering for large media elements (I use this a lot on mobile Firefox, it's great for reducing page size), and top-level filtering of domains/fonts.

  • uBlock Origin – 1.55.0
    1 project | news.ycombinator.com | 3 Jan 2024
  • In 2024, please switch to Firefox
    9 projects | news.ycombinator.com | 29 Dec 2023
    > "Its happened before"

    > That's not an argument

    It's a subheading to "2. Browser engine monopoly". The subsection's purpose is describing how bad things were during the IE monopoly to reinforce that it's something to be avoided.

    > in fact you could counter-argue that IE left a lot of technical debt

    That would be agreeing with the article, unless I understand what you mean.

    > On top of that, the internet was very different back then.

    In a way that now makes it harder for truly new competing engines to pop up due to increased complexity of the web.

    > I'm still not convinced, why would I change my browser?

    The points made in the article are:

    * Increased privacy, opposed to willingly giving your data to an ad-tech company

    * Helps avoid a browser engine monopoly which would effectively let Google dictate web standards

    * It’s fast and has a nice user interface

    Onto which I'd add:

    * Content blockers work best on Firefox (https://github.com/gorhill/uBlock/wiki/uBlock-Origin-works-b...), doubly so when Manifest V3 rolls out

    * Allows more customization of interface and home page

    * UX improvements, like the clutter-free reader mode, aren't vetoed to protect search revenue as with Chrome (https://news.ycombinator.com/item?id=37675467)

  • Ask HN: Is Firefox team too small to do serious security tests?
    1 project | news.ycombinator.com | 23 Dec 2023
    Advertising networks are vectors for malware:

    https://www.cisecurity.org/insights/blog/malvertising

    https://www.malwarebytes.com/malvertising

    https://theconversation.com/spyware-can-infect-your-phone-or...

    So if you're concerned about security then you want the browser with the best ad blocker.

    uBlock Origin works best in Firefox:

    https://github.com/gorhill/uBlock/wiki/uBlock-Origin-works-b...

What are some alternatives?

When comparing webextensions and uBlock you can also consider the following projects:

AdNauseam - AdNauseam: Fight back against advertising surveillance

VideoAdBlockForTwitch - Blocks Ads on Twitch.tv.

graphql-jit - GraphQL execution using a JIT compiler

Spotify-Ad-Blocker - EZBlocker - A Spotify Ad Blocker for Windows

nyxt - Nyxt - the hacker's browser.

bypass-paywalls-chrome - Bypass Paywalls web browser extension for Chrome and Firefox.

h264ify - A Chrome extension that makes YouTube stream H.264 videos instead of VP8/VP9 videos

duckduckgo-privacy-extension - DuckDuckGo Privacy Essentials browser extension for Firefox, Chrome.

SingleFile-MV3 - SingleFile version compatible with Manifest V3. The future, right now!

ClearUrls

obelisk - Go package and CLI tool for saving web page as single HTML file