In FF 60, click the hamburger menu in the top right -> web developer -> Connect., then enter localhost:6100. In Zotero, go to setting, advanced, config editor, look up "debugging" and click on "allow remote debugging". Press shift+F8 in FF 60, or enter about:debugging#/setup in FF 102. In Firefox, go to devtools, go to settings, click "enable remote debugging" and the one next to it that's also about debugging Launch Firefox 60(Zotero 6)/Firefox 102(Zotero 7) Setup plugin development environment following this link.īuild plugin and restart Zotero with npm run restart. Fork this repo/Click Use this template.However, please don't modify it directly. The release do not promise any real functions. This is also how your plugin will be released and used by others. See how the examples work by directly downloading the xpi file from GitHub release and install it to your Zotero. It accepts text command to run callback, with optional display in the popup. vtableExample(See Preference Pane Examples)Īn Obsidian-style prompt(popup command input) module.See src/modules/preferenceScript.ts HelperExamples registerStyleSheet(the official make-it-red example).This repo provides examples for zotero-plugin-toolkit APIs. ⭐Compatibilities for Zotero 6 & Zotero 7.(using zotero-plugin-toolkit).Automatically release to GitHub(using release-it).Automatically build and reload code in Zotero.Automatically generate/update plugin id/version, update configrations, and set environment variables( development/production).Global variables and environment setup.Full type definition support for the whole Zotero project, which is written in JavaScript(using zotero-types).Abundant examples in src/modules/examples.ts, covering most of the commonly used APIs in plugins(using zotero-plugin-toolkit).Simple and user-friendly, works out-of-the-box.Event-driven, functional programming, under extensive skeleton.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |