14 ms·
I just wrote my first extensions for a new side project (https://getbirdfeeder.com https://getbirdfeeder.com) a few weeks ago. Initially I thought that now afte
by dewey 5y ago
I just wrote my first extensions for a new side project (https://getbirdfeeder.com https://getbirdfeeder.com) a few weeks ago. Initially I thought that now after a few years everything will be mostly standardized with "web extensions" and I just upload the extension to the three big extension stores. Turns out it's nothing like that and I wrote a little bit about my misconceptions in my blog [1]. It's still not a great development workflow. If there's any good strategies I'll gladly give that a try.
My initial plan to have a private package that I just import in my extensions but turns out you can't really do that as imports don't work. Right now I'm kinda stuck in copy pasting code back and fort hand keeping a V2 Extension for Firefox (and Safari) and a V3 Extension for Chrome. I also keep separate manifest files as they have different features.
[1] https://blog.notmyhostna.me/posts/building-web-extensions-for-chrome-firefox-and-safari/ https://blog.notmyhostna.me/posts/building-web-extensions-fo...