Comment

Comment by satvikpendem

PSA: If you're making a browser extension, please support Firefox as well, not just Chrome. Firefox makes it easy since they support the `chrome` namespace for functions [0].

You can also use React/Next.js or another frontend library too if you prefer. I had created an extension a while ago out of pure HTML, CSS, and TypeScript but I found that was quite annoying to add more complex features with lots of state. I switched to Next.js and it's now on par with regular web DX [1].

[0] https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/Web...

[1] https://css-tricks.com/nextjs-chrome-extension-starter/

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton