Hacker News new | ask | show | jobs
by mitchas 3059 days ago
I actually just started looking into porting it to Firefox. I haven't made any extensions for FF before - and this is my first Chrome extension as well - so I'm not sure how much work it'll be to convert it. But it's definitely on the top of my todo list.
3 comments

The main difference between Chrome and Firefox extensions is that Chrome uses a callback-based API while Firefox's is based on promises. Other than that they're functionally the same aside from some differences in the manifest and the namespace (Chrome uses `chrome` while Firefox uses `browser`). I think Firefox has some backwards compatibility with the callback interface for easier porting but I haven't tried.

There's a nice polyfill by Mozilla so you can use their promise interface in Chrome but it was missing some important apis last I checked (sessions and optional permissions). https://github.com/mozilla/webextension-polyfill

Thanks a lot. Really appreciate it. I see that you are also the person behind indeed resume. I have used it too many times to count. Thanks a lot for that.
serious question... are you thinking about ever open sourcing this?