Hacker News new | past | comments | ask | show | jobs | submit | more cezaraugustodev's comments login

Extension.js can help you creating a new extension using React in no time:

npx extension create my-react-extension --template=react

But I guess it doesn't make it any easier to modify the behavior of fancy modern web sites :_(


Great question!

The biggest difference, in my opinion, is that Plasmo is a framework, which means you have to learn its abstractions and rely on specific samples tailored for these abstractions to create new extensions. There are config files and specific rules to follow that are not necessarily related to browser extensions.

On the other hand, Extension.js allows developers to create extensions using the standard extension APIs and abstracts only the configuration files, without the need to learn the tooling specifics. This way, a sample from Chrome or MDN that works with a manifest file as the source of truth requires no refactoring to work with Extension.js, making it easier to get started and prototype new projects.


I’ve used Plasmo without touching their framework (essentially using it for HMR and bundling) and it works pretty well

But it’s never a bad thing to have two projects solving a painful problem


Yes, the manifest.json is a required file for all extensions, and the package.json file provides necessary package metadata.

web-ext is excellent, but it seems there are no plans for the project to support more browsers than it currently does. On the other hand, Extension.js plans to support all major vendors.

Except for Firefox support, which is in progress, I believe Extension.js offers parity with all core functionalities of web-ext, but it goes further by providing built-in support for React and TypeScript. All you need to do is add the correct dependencies to get up and running.

Additionally, Extension.js provides comprehensive extension reload support, including changes to the manifest.json file and the service_worker background. This feature sets it apart from similar tools, including web-ext, which do not offer this capability.


The plugin for Firefox is on the way, but any community support is highly appreciated.


Thanks! Firefox support will come in the next update. Stay tuned! :)


Haha glad to hear that


No worries :) but Chrome and Edge are indeed different browsers. Support for Firefox and Safari is next.


Not to take away from the simplicity of use, of course, totally giving it a go. I think this is an awesome foot in the door for people who never considered developing extensions.

Firefox would be a MASSIVE win!


That's great feedback, thank you. Will consider the removal.


Sure thing! There will be support for Firefox very soon


HN has a character limitation for the post title and changing the word made the title fit just fine :)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: