For developers / git-jiwon

PDF Metadata Refresh

github.com/git-jiwon/zotero-pdf-metadata-refresh
Public grade · v1.0.1BUse with care
To reach A
Adds Zotero translators it downloadscontent/main.js · line 2strings.join(" ").slice(0,5e4)}async function ensureTranslator(provider){await Zotero.Translators.init();let translator=Zotero.Translators.get(provider.id);if(translator)return translator;const respoReply
Watches Zotero's network trafficcontent/main.js · line 15ng)return;try{await target._createdPromise}catch{}if(observing||!browser)return;Services.obs.addObserver(observer,"http-on-examine-response");Services.obs.addObserver(observer,"http-on-examine-cached-Reply
Launches programs on your computercontent/main.js · line 337done");const errorPath=PathUtils.join(directory,"render.error");const rendering=Zotero.Utilities.Internal.subprocess(powershell,["-NoProfile","-NonInteractive","-ExecutionPolicy","Bypass","-File",scriReply
Contacts servers we couldn't identify: www.aladin.co.kr, www.nl.go.kr and www.yes24.comcontent/main.js · line 15[]}}async function aladinLookup(isbn,ctx){const key2=ctx.keys?.aladin;const url=`https://www.aladin.co.kr/ttb/api/ItemLookUp.aspx?ttbkey=${encodeURIComponent(key2||"")}&itemIdType=ISBN13&ItemId=${encoReply
✓Minified (compressed) code; not yet checked against the published source
✓Works with Zotero 10
Then A+
Pass the live test in Zotero 10We install it in a fresh Zotero and record what it does. Every plugin at A is tested.
README badgeZotero Plugins grade B[![Zotero Plugins grade](https://zoteroplugins.org/badge/zotero-pdf-metadata-refresh.svg)](https://zoteroplugins.org/p/zotero-pdf-metadata-refresh)Updates itself when the grade changes.
Disagree with a finding?Respond on GitHub from an account that maintains the repository. Your response is published next to the card, with our reply.Respond to the card
See the public plugin page