├── .gitignore ├── chrome ├── skin │ └── default │ │ └── overlay.css ├── locale │ └── en-US │ │ └── zoteroquicklook.dtd └── content │ ├── Bridge.exe │ ├── include.js │ ├── includeDialog.js │ ├── ZoteroQuickLook │ └── coq.scpt │ ├── includeQuickFormat.js │ ├── addCitationDialogOverlay.xul │ ├── quickFormatOverlay.xul │ ├── zoteroquicklookdialog.js │ ├── overlay.xul │ ├── zoteroquicklook.pl │ ├── Bridge.cs │ ├── zoteroquicklookquickformat.js │ └── zoteroquicklook.js ├── defaults └── preferences │ └── defaults.js ├── chrome.manifest ├── install.rdf ├── update.rdf ├── update-altwindows.rdf └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | builds 2 | github.token -------------------------------------------------------------------------------- /chrome/skin/default/overlay.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chrome/locale/en-US/zoteroquicklook.dtd: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /chrome/content/Bridge.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mronkko/ZoteroQuickLook/HEAD/chrome/content/Bridge.exe -------------------------------------------------------------------------------- /defaults/preferences/defaults.js: -------------------------------------------------------------------------------- 1 | pref("extensions.zoteroquicklook.usefilenameworkaround", true); 2 | pref("extensions.zoteroquicklook.customviewcommand", ""); 3 | -------------------------------------------------------------------------------- /chrome/content/include.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | Zotero.debug("ZoteroQuickLook loading",3); 4 | 5 | Components.classes["@mozilla.org/moz/jssubscript-loader;1"].getService(Components.interfaces.mozIJSSubScriptLoader).loadSubScript("chrome://zoteroquicklook/content/zoteroquicklook.js"); 6 | 7 | 8 | Zotero.Schema.schemaUpdatePromise.then(() => { 9 | Zotero.ZoteroQuickLook.init(); 10 | Zotero.debug("ZoteroQuickLook loaded",3); 11 | }); 12 | -------------------------------------------------------------------------------- /chrome/content/includeDialog.js: -------------------------------------------------------------------------------- 1 | Zotero.debug("ZoteroQuickLookDialog loading",3); 2 | 3 | Components.classes["@mozilla.org/moz/jssubscript-loader;1"].getService(Components.interfaces.mozIJSSubScriptLoader).loadSubScript("chrome://zoteroquicklook/content/zoteroquicklookdialog.js"); 4 | 5 | 6 | window.addEventListener('load', function(e) { Zotero.ZoteroQuickLookDialog.init(); }, false); 7 | 8 | Zotero.debug("ZoteroQuickLookDialog loaded",3); 9 | 10 | -------------------------------------------------------------------------------- /chrome/content/ZoteroQuickLook/coq.scpt: -------------------------------------------------------------------------------- 1 | try 2 | do shell script "PIPE=\"/Users/Shared/.zoteroIntegrationPipe_$LOGNAME\"; if [ ! -e \"$PIPE\" ]; then PIPE='~/.zoteroIntegrationPipe'; fi; if [ -e \"$PIPE\" ]; then echo 'MacWord2008 quickLook '" & quoted form of POSIX path of (path to current application) & " > \"$PIPE\"; else exit 1; fi;" 3 | on error 4 | display alert "Word could not communicate with Zotero. Please ensure that Firefox is open and try again." as critical 5 | end try 6 | -------------------------------------------------------------------------------- /chrome/content/includeQuickFormat.js: -------------------------------------------------------------------------------- 1 | Zotero.debug("ZoteroQuickLookQuickFormat loading",3); 2 | 3 | Components.classes["@mozilla.org/moz/jssubscript-loader;1"].getService(Components.interfaces.mozIJSSubScriptLoader).loadSubScript("chrome://zoteroquicklook/content/zoteroquicklookquickformat.js"); 4 | 5 | 6 | window.addEventListener('load', function(e) { Zotero.ZoteroQuickLookQuickFormat.init(); }, false); 7 | 8 | Zotero.debug("ZoteroQuickLookQuickFormat loaded",3); 9 | 10 | -------------------------------------------------------------------------------- /chrome/content/addCitationDialogOverlay.xul: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 7 | 8 | 9 |