A browser extension for Check.
Available for Mozilla Firefox and Google Chrome.
The JavaScript code lives in src
. Static files like HTML, Manifest and images live in public
.
Copy config.js.example
to config.js
and define your configurations.
You can compile the code with npm run build
. It was developed and tested with Node 7. After the code is compiled, it will be under build
. After you installed the extension (see below how to do it), you don't need to re-install it when you make code changes.
Follow the steps below or our video-tutorial.
- Visit
chrome://extensions
- Enable "Developer mode"
- Click "Load unpacked extension..."
- Pick one of the directories:
build
, if you are a developer and has compiled the extension locally in your machinereleases/qa
, to use the QA versionreleases/live
, to use the live version
- The extension will appear on the toolbar
If you are not able to login using the browser extension on Chrome, make sure that the option "Block third-party cookies", under your browser configurations, is disabled. If you use an extension like AdBlock, you first need to disable the extension, then disable the "Block third-party cookies" option.
- Visit
about:debugging
- Click "Load Temporary Add-on"
- Pick the
manifest.json
file inside one of the following directories:build
, if you are a developer and has compiled the extension locally in your machinereleases/qa
, to use the QA versionreleases/live
, to use the live version
- The extension will appear on the toolbar
As usual, localization is done on Transifex. You must have the tx
client installed on your computer and configured to communicate with the Transifex server. You can send new strings to Transifex by running npm run transifex:upload
and you can download translations from Transifex by running npm run transifex:download
.
- You need
zip
,rspec
,geckodriver
andchromedriver
. - Copy
test/config.yml.example
totest/config.yml
and adjust the configurations. - Tests can be run with
npm run test
.
- Edit
public/manifest.json
and increment the version number - Create a new release via
npm run release:live
which will create the packagereleases/live/live.zip
- Submit the package to Chrome Store and Firefox Store for review and publishing
- Some permissions will require justification:
activeTab
: Send the current URL to CheckcontextMenus
: Invoke the extension from a link on right-click
- Nothing special is needed, just upload the ZIP