Bug ID # 773018597

Linux Debian 11 (bullseye)
Zotero 5.0.96.3
Zotero Firefox connector 5.0.91

When attempting to save the following url from firefox,

https://raw.githubusercontent.com/tdunning/t-digest/main/docs/t-digest-paper/histo.pdf

The Zotero icon menu provides me with the following options:

Webpage with snapshot
Webpate without snapshot

When I attempt either, nothing appears in the Zotero application. I turned on logging in the Firefox addon, and it records the following

[JavaScript Error: "_tabInfo[tab.id] is undefined
Zotero.Connector_Browser</this.saveAsWebpage@moz-extension://9a2cdaf2-6c10-4b7d-bbde-2fc66b65dd41/background.js:835:7
_browserAction@moz-extension://9a2cdaf2-6c10-4b7d-bbde-2fc66b65dd41/background.js:804:30
logListenerErrors/<@moz-extension://9a2cdaf2-6c10-4b7d-bbde-2fc66b65dd41/background.js:867:32
"]
  • That file isn't served as a PDF — it doesn't have a Content-Type header. Chrome won't even display it as a PDF for that reason and just offers to download it. Firefox presumably samples the file contents, but that's not something we're able to do from the extension. We can look into whether there's a way we can reliably detect that Firefox is currently displaying a PDF despite the missing Content-Type.

    Note that you can always just drag the proxy icon (padlock) to Zotero to trigger the download.
  • @djerius: Fixed now in the latest Zotero Connector beta. (We fixed this a while back, but there was a delay from Mozilla in releasing beta updates.)
Sign In or Register to comment.