This chrome extension is based on the EEXCESS chrome-extension.
npm install
to install the required node modules (requires node.js)bower install
to install the dependencies (if bower however has not been made available by npm, try installing it manually and globally with npm -g install bower
)chrome://extensions/
load an unpacked extension
, locate and select your cloned repoFor inserting the citations the markup used by wikipedia is used (wiki-code).
Each events' data has to contain the document information required by c4's markup module.
The following message events are used to insert the citation at the current cursor position in the edited article:
eexcess.insertMarkup.text
:eexcess.insertMarkup.image
For getting the displayed page's origin these events are used:
eexcess.getOrigin.request
:eexcess.getOrigin.response
:origin: "https://en.wikipedia.org"