ZoteroBib as a chrome extension
This amazing tool must exists as a chrome extension. Similar to how the extension "Bibtex entry from url" works [1].
[1] https://chrome.google.com/webstore/detail/bibtex-entry-from-url/mgpmgkhhbjgkpnanlmlhibjfgpdpgjec
[1] https://chrome.google.com/webstore/detail/bibtex-entry-from-url/mgpmgkhhbjgkpnanlmlhibjfgpdpgjec
If anything that would just be incorporated into the Zotero Connector, but it's a bit of a questionable concept, since metadata isn't perfect and sometimes has to be adjusted in order to generate correct citations. So while the Connector could in theory let you edit metadata without saving, you'd have to do that every time you generated a citation for a given URL. It would usually make more sense to just save to Zotero, tweak metadata as necessary one time, and use Quick Copy to copy to the clipboard in your desired format.
javascript:window.location = `https://zbib.org/import?q=${(window.getSelection().toString() || window.location.toString()).trim()}`
Copy the code and save it as bookmark. Afterwards when visiting a page you can just select an identifier in text (URL/DOI/ISBN etc.) and click on the bookmarklet to import it to into zbib, or, if nothing is selected, it will just import current URL.
window.open(…)
instead ofwindow.location = …
to open it in a new tab:javascript:window.open(`https://zbib.org/import?q=${(window.getSelection().toString() || window.location.toString()).trim()}`)
I know that metadata is hard and the citation may therefore have issues with missing detail. However, I'm not looking for something to add to a paper. I just need something that pulls out what Zoterobib is doing, without having to go through Zoterobib.
When I try using the suggested option here, the new Zoterobib page opens in a new tab, with the citation correctly displayed. However, the original page reloads without any content, with only the words "[object Window]" displayed.
The ability to right-click on the Zotero connector, and choose "Generate citation", which shows up in a notification that I can copy, would save me so much time.
The MyBib citation generator Chrome extension (https://chrome.google.com/webstore/detail/mybib-free-citation-gener/phidhnmbkbkbkbknhldmpmnacgicphkf) is a bit like what I'm looking for.