Programmatically add tag to las item saved

41 views
Skip to first unread message

alphonse.rou...@gmail.com

unread,
Aug 17, 2016, 3:44:14 PM8/17/16
to zotero-dev
I am using firefox & zotero connector, v5.0
I would like to add a tag to the last item scraped (item.tags.push(tag)) using the function scrapeThisPage from browser.js as soon as the function has completed. Adding code just after if(page.translators && page.translators.length) {} ensures that the call is made when the saving completed. However, I do not know how to access to some kind of lastitem property from there.
Can anyone help me ?
Reply all
Reply to author
Forward
0 new messages