webextension-polyfill VS ExtPay

Compare webextension-polyfill vs ExtPay and see what are their differences.

webextension-polyfill

A lightweight polyfill library for Promise-based WebExtension APIs in Chrome (by mozilla)

ExtPay

The JavaScript library for ExtensionPay.com — payments for your browser extensions, no server needed. (by Glench)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
webextension-polyfill ExtPay
18 56
2,529 425
1.6% -
1.3 4.1
8 days ago 6 days ago
JavaScript JavaScript
Mozilla Public License 2.0 GNU General Public License v3.0 or later
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.

webextension-polyfill

Posts with mentions or reviews of webextension-polyfill. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-19.
  • Show HN: Chrome Reaper
    4 projects | news.ycombinator.com | 19 Dec 2023
    Porting this extension to Firefox should be relatively straightforward using the webextension polyfill: https://github.com/mozilla/webextension-polyfill
  • Show HN: OpenAPI DevTools – Chrome ext. that generates an API spec as you browse
    17 projects | news.ycombinator.com | 25 Oct 2023
    Firefox maintain a library for unified extension API https://github.com/mozilla/webextension-polyfill

    Their type definition for HAR request isn't exported https://github.com/DefinitelyTyped/DefinitelyTyped/blob/mast...

  • can you convert a simple firefox addon to be used with chrome?
    1 project | /r/chrome_extensions | 31 Oct 2022
    best is to use https://github.com/mozilla/webextension-polyfill
  • Browser Extension with Blazor WASM - Cross-Browser Compatibility
    2 projects | dev.to | 5 Sep 2022
    The Browser Extension Working Group at W3.org proposes the web standards based on the Chrome extension manifest, which supports all web browsers. Based on that proposal, Mozilla has released the Browser Extension Polyfill library that supports the modern promise pattern instead of callback. Therefore, if you import this polyfill library, theoretically, your Chrome extension quickly turns into the browser extension that runs on multiple browser engines.
  • IWTL how to make simple chrome extensions.
    1 project | /r/IWantToLearn | 2 Aug 2022
    And the biggest tip that i received late. Use Typescript type by Mozilla to make your development much easier(autocomplete, inline docs etc): https://github.com/mozilla/webextension-polyfill
  • Show HN: Plasmo – a framework for building modern Chrome extensions
    8 projects | news.ycombinator.com | 3 Jun 2022
  • It’s Like GPT-3 but for Code–Fun, Fast, and Full of Flaws
    5 projects | news.ycombinator.com | 19 Mar 2022
    I've written extensions before and Firefox has a very good polyfill [0] that makes it quite easy to write extensions for all browsers. It does get a bit trickier if you also want to incorporate TypeScript [1] or React however.

    [0] https://github.com/mozilla/webextension-polyfill

    [1] https://github.com/Lusito/webextension-polyfill-ts

  • Ask HN: Browser-extension creators, how do you write for multiple browsers?
    6 projects | news.ycombinator.com | 12 Feb 2022
    I used WebExtension polyfill[0] when adapting my FF addon to Chrome and admittedly all the intricate differences between APIs still costed me half a day of work.

    I managed to have it done with only a few places where I branch on navigator.vendor, but If I wanted to ship different versions to AMO and CWS, I'd make use of something like DefinePlugin[1] for webpack to include/exclude code based on build target.

    [0] https://github.com/mozilla/webextension-polyfill/

    [1] https://github.com/webpack/docs/wiki/list-of-plugins#definep...

  • Creating a browser extension for Safari and Chrome
    5 projects | dev.to | 19 Jan 2022
    Initially I created wrapper functions to convert Chrome functions that require callback to return promise instead. The better approach, as I found out later, is probably to use webextension-polyfill from Mozilla and its types.
  • Firefox Addons Unable to Update, Undisclosed AMO Issues
    2 projects | news.ycombinator.com | 25 Sep 2021
    I mean, the browser apis are close (and Mozilla still has much better documentation) but there are a LOT of edges cases where behavior diverges.

    Frankly - I'm a little peeved that Optional permissions in Firefox are STILL broken - The prompt can only be triggered in response to a user action, and Firefox blows the fuck up if you put a promise anywhere in between the user click and the call to the api. Which is hugely ironic, since Mozilla is the one pushing to move all the webext APIs to be promise based (and provides a nice helpful library for Chrome/Edge/Safari support: https://github.com/mozilla/webextension-polyfill) which... doesn't work on their platform. Doubly ironic, since the result is that most FF extensions just ask for more permissions up front, which is exactly the opposite of what you'd want in the "secure/private" world Mozilla claims they're pushing towards.

ExtPay

Posts with mentions or reviews of ExtPay. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-07.
  • Ask HN: SQLite in Production?
    3 projects | news.ycombinator.com | 7 Apr 2024
    I've been using SQLite/Litestream for https://extensionpay.com for about 3 years now! Serves about 120m requests per month (most of those are cached and don't hit the db), but it's been great!

    I was convinced that SQLite could be a viable db option from this great post about it called Consider SQLite: https://blog.wesleyac.com/posts/consider-sqlite

    Using SQLite with Litestream helped me to launch the site quickly without having to pay for or configure/manage a db server, especially when I didn't know if the site would make any money and didn't have any personal experience with running production databases. Litestream streams to blackblaze b2 for literally $0 per month which is great. I already had a backblaze account for personal backups and it was easy to just add b2 storage. I've never had to restore from backup so far.

    There's a pleasing operational simplicity in this setup — one $14 DigitalOcean droplet serves my entire app (single-threaded still!) and it's been easy to scale vertically by just upgrading the server to the next tier when I started pushing the limits of a droplet (or doing some obvious SQLite config optimizations). DigitalOcean's "premium" intel and amd droplets use NVMe drives which seem to be especially good with SQLite.

    One downside of using SQLite is that there's just not as much community knowledge about using and tuning it for web applications. For example, I'm using it with SvelteKit and there's not much written online about deploying multi-threaded SvelteKit apps with SQLite. Also, not many example configs to learn from. By far the biggest performance improvement I found was turning on memory mapping for SQLite.

  • Ask HN: Those making $500/month on side projects in 2024 – Show and tell
    11 projects | news.ycombinator.com | 23 Jan 2024
    I made a couple browser extensions that make over $500/month each. The key seems to be naming your extension after high-volume search terms and getting good reviews on the chrome store (and obviously having an extension that works well and solve a common problem on major websites). I monetized them with my own service, https://extensionpay.com. Feels so good to eat your own dog food :)
  • Standard Ebooks Serves Requests per Month with a 2GB VPS (2022)
    1 project | news.ycombinator.com | 5 Jan 2024
    Neat! I'm serving around 120m requests per month for https://extensionpay.com from a 2GB VPS running a single-threaded nodejs process and SQLite as the db. Most of the requests are cached, but still, it's amazing how far you can get with cheap hardware.
  • Litestream – Disaster recovery and continuous replication for SQLite
    3 projects | news.ycombinator.com | 1 Jan 2024
    I use SQLite/Litestream for https://extensionpay.com! Serves about 120m requests per month (most of those are cached and don't hit the db), but it's been great!

    I have no affiliation with Litestream but I was convinced that SQLite could be a viable db option from this great post about it called Consider SQLite: https://blog.wesleyac.com/posts/consider-sqlite

    Using SQLite with Litestream helped me to launch the site quickly without having to pay for or configure/manage a db server, especially when I didn't know if the site would make any money and didn't have any personal experience with running production databases. Litestream streams to blackblaze b2 for literally $0 per month which is great. I already had a backblaze account for personal backups and it was easy to just add b2 storage. I've never had to restore from backup so far.

    There's a pleasing operational simplicity in this setup — one $14 DigitalOcean droplet serves my entire app (single-threaded still!) and it's been easy to scale vertically by just upgrading the server to the next tier when I started pushing the limits of a droplet. DigitalOcean's "premium" intel and amd droplets use NVMe drives which seem to be especially good with SQLite.

    One downside of using SQLite is that there's just not as much community knowledge about using and tuning it for web applications. For example, I'm using it with SvelteKit and there's not much written online about deploying multi-threaded SvelteKit apps with SQLite. Also, not many example configs to learn from. By far the biggest performance improvement I found was turning on memory mapping for SQLite.

    Happy to answer any questions you might have!

  • Ask HN: What are some easy ways to earn some side money?
    2 projects | news.ycombinator.com | 16 Aug 2023
    I made https://extensionpay.com to monetize my own browser extensions and between that and free distribution on the extension stores it’s really easy to try making extensions that make money. So far devs have made over $300k with ExtensionPay. That said, it still take some skill to find a niche that works.
  • Many temptations of an open-source Chrome extension developer
    5 projects | news.ycombinator.com | 9 Aug 2023
    Just want to put a plug in for https://extensionpay.com/ - I've used it in extensions in the past. It takes away the headache of setting up a backend for payment. They do take an extra 5%, but it's worth it especially. for smaller projects
  • Monetization Options
    1 project | /r/chrome_extensions | 3 Jul 2023
    Have a go at looking at this: https://extensionpay.com,
  • I Built Vim for Google Docs
    2 projects | /r/vim | 22 Jun 2023
    That's fair. Right now my payment processor (ExtensionPay) doesn't support multiple pricing tiers. However, in the future I'm considering rolling out my own logic so that I can provide a lifetime license option for some users.
  • My experience with the Chrome Extension review process
    1 project | news.ycombinator.com | 10 Jun 2023
    Oh nice! Maybe you'd be interested in the tool I built to take payments in extensions: https://extensionpay.com
  • 2! Authenticator: An extension to quickly view your 2-factor codes in Chrome.
    1 project | /r/chrome_extensions | 6 Jun 2023
    If your concern is about security of the extension, you may right click on top of the extension's icon and select "Inspect popup". Select the "Network" tab and type CTRL-R to force a reload of the extension. Verify there are no external network requests (except to extensionpay.com for paid features).

What are some alternatives?

When comparing webextension-polyfill and ExtPay you can also consider the following projects:

esbuild-react-chrome-extension - Simple chrome extension with React and Typescript, bundled by esbuild

Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.

browser-extension-svelte - A simple cross-browser extension made with Svelte

socksifier - One DLL to redirect them all to a SOCKS5 server.

uBlock-Safari - uBlock Origin - An efficient blocker for Chromium, Firefox, and Safari. Fast and lean.

learn-anything.xyz - Organize world's knowledge, explore connections and curate learning paths

plasmo - 🧩 The Browser Extension Framework

openmiko - Open source firmware for Ingenic T20 based devices such as WyzeCam V2, Xiaomi Xiaofang 1S, iSmartAlarm's Spot+ and others.

browser-ext-react-esbuild - Browser extension implemented in TypeScript & React and built by esbuild for Chrome, Safari and possibly Mozilla Firefox

sidebery - Firefox extension for managing tabs and bookmarks in sidebar.

webext-redux - A set of utilities for building Redux applications in Web Extensions.

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