Hacker News new | ask | show | jobs
by sundarurfriend 3861 days ago
That's encouraging news, this is something I've wanted to tinker with. The only time I tried to get into extension making (which, to be fair to them, was 6 or 7 years ago), it seemed a complicated thing with rather poor documentation.

How would one go about getting started in this now? I hear there's "old style addons", jetpack-based ones, and something about making it Electrolysis-compatible... and then there's WebExtensions looming in the horizon. Could you give me one definite starting point that's reasonably modern and future-proof?

1 comments

I don't know much about Jetpack or Elrolysis, next to nothing in fact. Best place to begin would be with the "Getting Started" tutorial https://developer.mozilla.org/en-US/Add-ons/SDK/Tutorials/Ge... Installation instructions here https://developer.mozilla.org/en-US/Add-ons/SDK/Tools/jpm#In.... Caveat I haven't used the updated SDK using their jpm tool but my FF 41 is happily running addon packaged with out-of-date SDK. Good news for you is the new work-flow sounds even easier as you no longer need to call bin/activate to use cfx tools. I will eventually update SDK but I was perfectly happy with my old solution: alias ffsdk='cd /home/$USER/addon-sdk-1.17 && source bin/activate && PS1="ffsdk:\W$ "'