Skip to content

micmro/bookmarklet-to-firefox-addon-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bookmarklet to Firefox Add-on Boilerplate

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.

Test the Firefox Add-on localy

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.

alt text

This opens a local firefox version that has your addon installed.

alt text

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.

alt text

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.

Releases

No releases published

Packages

No packages published