DEV Community

Cover image for Browser extension development is pain
Jonas Pfalzgraf
Jonas Pfalzgraf

Posted on

Browser extension development is pain

You know those days when everything is crap, and when you get off work you think to yourself, at least get something done in your spare time?

For me, today was such a day. That's why I thought I'd dedicate myself to a topic which has annoyed me extremely in the past:
Browser plugin development. There are hundreds of tutorials out there, and 80% are outdated for years. Accordingly, I have
to write a unified project template for browser extensions. The template relies natively on TypeScript and Sass
as technologies, but of course it can be customized.

It has its own tool chain, which uses its own config file
which updates the project.json as well as the manifest.json. Furthermore, the basis for a variable templating for HTML
is built into the tool chain. This can be extended flexibly. By itself, the template allows building to manifest version 2 and 3,
to ensure compatibility for Firefox. However, the same is only rudimentary implemented, because with a bit of luck Firefox in the
compatibility with v3 manifest in the next months.

The whole project is available under the MIT license and can be downloaded or forked via GitHub.

The same goes for improvement suggestions, feel free to fork me ^^

Image description

Top comments (1)

Collapse
 
josunlp profile image
Jonas Pfalzgraf

So, updated my template for developing for browser extensions, gn8 😴💤 #Developer, #SoftwareDeveloper: github.com/JosunLP/BrowserExtensio...