===============
This is the Button's WebExtension which runs on Firefox and Chrome (and maybe Opera) which encapsulates functionality of the incumbent Open Access Button and Open Data Button.
Our main repository contains far more information on the project, how to contribute etc.
Quick guide:
- If you have an issue (e.g bug, suggestion, question), make it here
- If you want to contribute code to the plugin do it in this repository. Pull requests are always welcome. Some useful information is below.
# Development notes
- master is our stable, released code.
- develop is what we're currently working on now.
Firefox requires extra keys in the manifest, and the project files zip archived with extension .xpi
. The script pack_ffx.py
does this. Supply the required extension ID.
./pack_ffx.py -i [email protected]
If you just want to see something quickly, it may be easier to use the testing site.
- Go to code page for this repo page, unified-extension.
- Be sure you are on the develop branch, if not, switch to develop in the drop down option on the top left of the page.
- click the big green button on the top right that says 'clone or download'.
- click download to get a zip file of the latest extension.
- Download the zip.
- Navigate and find the file on your computer, double click it to unzip it. You now have the latest code.
However, we commonly use releases on this repository. It may be better to use a recent release, which can be found here
- git clone
- git checkout develop
- In Chrome, go to chrome://extensions via the url bar, tick the 'Developer mode' tick-box in the top right corner.
- Click the newly appeared 'Load unpacked extension...' button
- Browse to the project directory you just downloaded, click 'Select'. It will upload the zip file you just downloaded.
- If you're experiencing problems with any of these steps, feel free to leave an issue on the backend repository here.