├── .gitattributes ├── .github ├── dependabot.yml ├── renovate.json └── workflows │ └── release.yml ├── .gitignore ├── .prettierignore ├── .vscode ├── launch.json └── settings.json ├── LICENSE ├── README.md ├── addon ├── bootstrap.js ├── chrome │ └── content │ │ ├── icons │ │ └── favicon.png │ │ ├── preferences.xhtml │ │ └── previewPDF.html ├── locale │ ├── en-US │ │ ├── addon.ftl │ │ └── preferences.ftl │ └── zh-CN │ │ ├── addon.ftl │ │ └── preferences.ftl ├── manifest.json └── prefs.js ├── image └── README │ └── teaser.gif ├── package.json ├── scripts ├── build.mjs ├── scripts.mjs ├── server.mjs ├── start.mjs ├── stop.mjs ├── update-template.json ├── utils.mjs └── zotero-cmd-template.json ├── src ├── addon.ts ├── hooks.ts ├── index.ts ├── modules │ ├── container.ts │ ├── listeners.ts │ ├── preference.ts │ ├── preview.ts │ ├── split.ts │ └── tab.ts └── utils │ ├── locale.ts │ ├── prefs.ts │ ├── type.ts │ ├── wait.ts │ ├── window.ts │ └── ztoolkit.ts ├── tsconfig.json ├── typings └── global.d.ts ├── update-beta.json ├── update.json └── update.rdf /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto eol=lf -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/.github/renovate.json -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/.prettierignore -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/README.md -------------------------------------------------------------------------------- /addon/bootstrap.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/addon/bootstrap.js -------------------------------------------------------------------------------- /addon/chrome/content/icons/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/addon/chrome/content/icons/favicon.png -------------------------------------------------------------------------------- /addon/chrome/content/preferences.xhtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/addon/chrome/content/preferences.xhtml -------------------------------------------------------------------------------- /addon/chrome/content/previewPDF.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/addon/chrome/content/previewPDF.html -------------------------------------------------------------------------------- /addon/locale/en-US/addon.ftl: -------------------------------------------------------------------------------- 1 | pref-title = Preview 2 | -------------------------------------------------------------------------------- /addon/locale/en-US/preferences.ftl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/addon/locale/en-US/preferences.ftl -------------------------------------------------------------------------------- /addon/locale/zh-CN/addon.ftl: -------------------------------------------------------------------------------- 1 | pref-title = 预览 -------------------------------------------------------------------------------- /addon/locale/zh-CN/preferences.ftl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/addon/locale/zh-CN/preferences.ftl -------------------------------------------------------------------------------- /addon/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/addon/manifest.json -------------------------------------------------------------------------------- /addon/prefs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/addon/prefs.js -------------------------------------------------------------------------------- /image/README/teaser.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/image/README/teaser.gif -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/package.json -------------------------------------------------------------------------------- /scripts/build.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/scripts/build.mjs -------------------------------------------------------------------------------- /scripts/scripts.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/scripts/scripts.mjs -------------------------------------------------------------------------------- /scripts/server.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/scripts/server.mjs -------------------------------------------------------------------------------- /scripts/start.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/scripts/start.mjs -------------------------------------------------------------------------------- /scripts/stop.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/scripts/stop.mjs -------------------------------------------------------------------------------- /scripts/update-template.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/scripts/update-template.json -------------------------------------------------------------------------------- /scripts/utils.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/scripts/utils.mjs -------------------------------------------------------------------------------- /scripts/zotero-cmd-template.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/scripts/zotero-cmd-template.json -------------------------------------------------------------------------------- /src/addon.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/src/addon.ts -------------------------------------------------------------------------------- /src/hooks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/src/hooks.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/modules/container.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/src/modules/container.ts -------------------------------------------------------------------------------- /src/modules/listeners.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/src/modules/listeners.ts -------------------------------------------------------------------------------- /src/modules/preference.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/src/modules/preference.ts -------------------------------------------------------------------------------- /src/modules/preview.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/src/modules/preview.ts -------------------------------------------------------------------------------- /src/modules/split.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/src/modules/split.ts -------------------------------------------------------------------------------- /src/modules/tab.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/src/modules/tab.ts -------------------------------------------------------------------------------- /src/utils/locale.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/src/utils/locale.ts -------------------------------------------------------------------------------- /src/utils/prefs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/src/utils/prefs.ts -------------------------------------------------------------------------------- /src/utils/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/src/utils/type.ts -------------------------------------------------------------------------------- /src/utils/wait.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/src/utils/wait.ts -------------------------------------------------------------------------------- /src/utils/window.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/src/utils/window.ts -------------------------------------------------------------------------------- /src/utils/ztoolkit.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/src/utils/ztoolkit.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/tsconfig.json -------------------------------------------------------------------------------- /typings/global.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/typings/global.d.ts -------------------------------------------------------------------------------- /update-beta.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/update-beta.json -------------------------------------------------------------------------------- /update.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/update.json -------------------------------------------------------------------------------- /update.rdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/windingwind/zotero-pdf-preview/HEAD/update.rdf --------------------------------------------------------------------------------