Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.84 KB

Readme.md

File metadata and controls

30 lines (21 loc) · 1.84 KB

#Firefox extension

Building the firefox extension requires the Firefox Addon SDK. The easiest way to install this is by cloning [email protected]:mozilla/addon-sdk.git and running source bin/activate in the repo which installs the appropriate environment variables in that shell. Some handy commands to get you started: cfx run in the firefox extension directory will run a profile-less firefox process with the extension installed, and cfx xpi will compile the XPI.

##Releasing a new version

We're using Github pages for hosting our extensions. When releasing a new version of the extension you follow these steps:

  • Run .build.sh in the firefox folder
  • Push changes to the master branch (including the compiled version of the extension)
  • Merge master branch to gh-pages branch

#Chrome extension

For now the chrome extension does not support injection on install. Here is an (incomplete) tutorial for how we can do that, reusing the data in the manifest: http://stackoverflow.com/a/11598753

#Safari extension

Building the Safari extension requires to load the factlink.safariextension folder into the Extension Builder of Safari. Installing the extension requires a Safari developer account and a certificate that can be requested on http://developer.apple.com/certificates/safari/. After updating the extension you can build and install the extension.

##Releasing a new version

We're using Github pages for hosting our extensions. When releasing a new version of the extension you follow these steps:

  • Build the new extension locally with the Safari extension builder
  • Push changes to the master branch (including the compiled version of the extension)
  • Bump the version number
  • Merge master branch to gh-pages branch