How to Open External Links in Zotero

72 views
Skip to first unread message

张志豪

unread,
Nov 27, 2023, 2:03:42 AM11/27/23
to zotero-dev
Hello everyone,

I'm currently facing an issue with Zotero where I'm unable to open external links. I have tried using window.open and window.openDialog, and even attempted to open a local HTML file containing an iframe. Unfortunately, none of these methods have been successful, as they all result in an NS_ERROR_NOT_AVAILABLE error.

Has anyone encountered a similar issue and found a workaround? Any suggestions or guidance would be greatly appreciated.

Thank you for your assistance!

XY Wong

unread,
Nov 27, 2023, 2:25:36 AM11/27/23
to zotero-dev
If you mean open in browser: Zotero.launchURL(url)

If you mean open in a window of Zotero: Zotero.openInViewer(url)

张志豪

unread,
Nov 27, 2023, 3:02:07 AM11/27/23
to zotero-dev

It works! Thank you very much.

Reply all
Reply to author
Forward
0 new messages