See highlighted fact-checked statements while reading online articles or browsing Facebook / Google.
For the latest packaged version check the releases page. Drop the crx
file in the Chrome extensions page (chrome://extensions/
).
- Install NodeJS from https://nodejs.org/
npm install -g gulp webpack
npm install
gulp
- In the Chrome extensions page,
Load unpacked extension...
and select thebuild
directory.
The extension will automatically reload on code changes.
For the extension to work you will need to have a running compatible API: https://github.com/TransparenCEE/factchecked-api-wpplugin
git pull origin branch_name
npm install
gulp build
will generate a build in./dist
.
If you would like to create a similar plugin for your factchecker these are the steps you have to follow:
- Update
src/manifest.json
andpackage.json
with description of your factchecker - Define
src/js/config.js
configuration usingsrc/js/config.js.template
- Override
src/assets/icon*
with your own iconsicon_gray
is shown in task bar when there are no factchecked statements on the current website
- Modify
src/views/*
templates according to your needs - Style your ratings in
src/css/factual.css
- Define colors and images for different factchecker-fact-mark-${fact.rating}