Most of the files listed below are contained within the zotero.jar archive in the chrome directory. For more information on extracting and modifying such files, see Modifying Zotero Files.
chrome.manifest
install.rdf
license.txt
scrapers.sql
SQL to initialize site translator and CSL style tables — bundled translators and styles may be overwritten during extension upgrades or updates from central repository, but the table definitions are stored within userdata.sql, so user-added rows are preserved.
system.sql
SQL to initialize system tables — data in these tables may be overwritten during upgrades. Modifying these tables to add new item types, etc., may seem like a good idea, but it quite likely is not.
userdata.sql
SQL to initialize user data tables — data in these tables is preserved during upgrades, and any schema changes require migration steps in schema.js.
Main overlay, windows and dialogs
about.xul
bibliography.js
bibliography.xul
exportOptions.js
exportOptions.xul
fileInterface.js
fileProgress.xul
include.js
Calls
getService() on the Zotero XPCOM component and assigns the core
JS object to the variable
Zotero.
XUL files that aren't in the global scope need to include this file to gain access to the Zotero object:
<script src="chrome://zotero/content/include.js"/>
itemPane.js
itemPane.xul
note.js
note.xul
overlay.js
overlay.xul
preferences.js
preferences.xul
progressWindow.xul
searchDialog.js
searchDialog.xul
selectItemsDialog.js
selectItemsDialog.xul
XBL bindings for reusable UI elements (contains both structure and logic)
noteeditor.xml
relatedbox.xml
searchtextbox.xml
tagsbox.xml
timedtextarea.xml
zoterosearch.xml
UI elements for site scraping
browser.js
browser.xul
progress.xul
selectitems.js
selectitems.xul
Persistent objects stored within the core JS object — loaded in components/zotero-service.js
attachments.js
cite.js
collectionTreeView.js
data_access.js
db.js
file.js
fulltext.js
ingester.js
itemTreeView.js
mime.js
MIME type detection and handling methods
notifier.js
progressWindow.js
schema.js
search.js
translate.js
utilities.js
zotero.js
Creates the core
JS object and several other key function groups (e.g. Zotero.Date)
Localized strings
about.dtd
locales.xml
preferences.dtd
searchbox.dtd
zotero.dtd
Main entities file (for
XUL labels)
zotero.properties
Main properties file (for
JS strings)
Image and style files for the default skin
about.css
addCitationDialog.css
overlay.css
zotero.css
*.png
zotero-autocomplete.js
Implements the Zotero autocomplete service, which can be enabled on an autocomplete textbox with autocompletesearch=“zotero”. The search field is specified with autocompletesearchparam=“fieldName”, optionally followed by other parameters after a slash.
zotero-service.js
The base XPCOM component, which provides access to the core
JS object from privileged code in Firefox — mostly boilerplate, but new files in chrome/content/zotero/xpcom must be included here using
loadSubScript().