Boilerplate to port your bookmarklet to a Firefox Add-on.
Simply copy your bookmarklet code into data/bookmarklet-code.js
, update the icons in data/images/
, update the other metadata in package.json
and test it localy with jpm and you're ready to submit it.
Install the jpm comandline tool as described here, open to the bookmarklet-to-firefox-addon-boilerplate directory in your comandline of choice and run cfx run
.
This opens a local firefox version that has your addon installed.
You can find more infos about jpm here.
##Publish your Add-on
Package your addon
jpm xpi
Go to https://addons.mozilla.org/en-US/developers/addons click Submit a New Add-on and follow the steps.
Please note that the submission might take up to a few days.
##More Check out bookmarklet-to-chrome-extension-boilerplate if you want to port your bookmarklet to Chrome as well.