-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show PDF icon for page with PDF iframe and no translator #155
Comments
(If there are multiple we can save the first one, but that will almost never happen.) |
The downside, I guess, is that we would have to run a |
The implementation in c379343 seems way more complicated than I was thinking — I was assuming we would just look for an iframe with a URL with a path (not counting query string) that ended in But it also doesn't seem to be working for me. E.g., I'm not seeing a PDF icon on either https://www.cs.tut.fi/~jkorpela/html/iframe-pdf.html or https://pdfobject.com/static.html. The latter page also shows a couple other techniques ( |
Both pages work for me on Chrome, Firefox and Safari. |
Working for me now. I guess maybe I was testing with Zotero closed? To support that I guess we'd have start sending URLs and cookies up to the API (and hoping sites don't have same-IP restrictions on cookies)? |
Detection works fine with Zotero closed. We don't support saving standalone PDFs to server now regardless of whether they are in a frame or not. |
PDF detection does not work for me in either Chrome or Firefox with Zotero closed. (It works if I just close Zotero while it's already showing a PDF icon and reload, but not if I close the tab and reopen it.) |
Ok, so detection actually doesn't work, but it doesn't really matter, because PDF saving to zotero.org doesn't either. We will revisit this once PDF saving to zotero.org is available. |
#152 (comment)
The text was updated successfully, but these errors were encountered: