See Chrome Extension docsĪnd Firefox Extension docs for more information. The functionality exposed on Chrome and Firefox is provided by the Chrome extension framework, Technologies Chrome/Firefox Browser Extension Framework This section is a short overview of some of the complexities, to make it more accessible for newcomers. Zotero Connectors are built with standard tools, such as browser extension APIs, but the architecture is quite complex.
Test files are located at src/common/test. To run tests locally, build the extension with the -d flag, and then run xar with patch for building Safari extensions.Copy config.sh-sample to config.sh and modify as necessary.Requirements for packaging extensions from the command line You will need to manually reload the extension OthersĪs files are changed, the connectors will be rebuilt automatically.
scripts/firefox/run_xpi (in a different terminal window)Īs files are changed, the connectors will be rebuilt automatically and Firefox will reload the extension. See Automatic rebuilding/reloading Chrome on MacOSĪs files are changed, the connectors will be rebuilt automatically and Chrome will reload the extension.
Zotero chrome extension dead install#