Skip to content
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

Incompatibility with Zotero Connector #7

Closed
kkensuke opened this issue May 2, 2023 · 4 comments
Closed

Incompatibility with Zotero Connector #7

kkensuke opened this issue May 2, 2023 · 4 comments
Labels
firefox This issue affects the Firefox variant question Further information is requested

Comments

@kkensuke
Copy link

kkensuke commented May 2, 2023

doqment is a very useful extension, but it seems it is incompatible with Zotero Connector for Firefox, that is, I can't save PDFs. I often use Zotero Connector to save PDFs from arXiv, so it would be great if I could use them simultaneously.

@kkensuke kkensuke changed the title Compatibility with Zotero Connector Incompatibility with Zotero Connector May 2, 2023
@shivaprsd
Copy link
Owner

Sorry to hear that.

Can you explain the problem a bit more? I don't know what Zotero Connector is. Is that another extension? How does doqment clash with it?

If you just want to download PDFs to your hard disk there is a button on the toolbar. But I don't think this is what you are aiming for.

@shivaprsd shivaprsd added the question Further information is requested label May 5, 2023
@kkensuke
Copy link
Author

kkensuke commented May 5, 2023

I'm sorry for the lack of explanation.

Environment;
Browser: Firefox 112
OS: Mac Ventura

When doqment is disabled, Zotero Connector can detect and save PDF files to my Zotero database with one click. However, when doqment is enabled, Zotero Connector can't detect and save them. (Of course, I can save them to my hard disk from a button on the toolbar regardless of doqment)

screenshot.mov

This movie is from Zotero homepage

By the way, I found the change of URL; https:// ... .pdf -> moz-extension://a4f87a59-4353-4dfe-92da-010260afb380/pdfjs/web/viewer.html?file=https:// ... .pdf after enabling doqment. If this is the cause of the problem, I should report this to the Zotero Connector community instead of here because the prefix would be added as long as I use doqment.

@shivaprsd
Copy link
Owner

shivaprsd commented May 7, 2023

First of all, thanks for introducing me a software I didn't know I needed. 😊

No, the problem is not just the change of URL. Extensions can't grab data from other extensions' pages (due to security reasons), so Zotero Connector disables itself on doqment's viewer page. So simply reporting this issue there is likely to be dismissed as wont-fix.

The only workaround now is to bypass doqment altogether when intending to save the PDF to Zotero. Some ways I can think of:

  1. Use Save to Zotero button directly on the arXiv page, without opening the PDF. This automatically saves both metadata and the PDF (recommended method by Zotero docs also).
  2. Allow Zotero Connector to run in private tabs (extensions are disallowed by default); then right click on the PDF link to open it in a private window.
  3. Download the file to disk and add manually (this sucks).

Tell me if both 1 and 2 above might be inconvenient to you. Meanwhile let me think of an actual solution.

@shivaprsd shivaprsd added the firefox This issue affects the Firefox variant label May 7, 2023
@kkensuke
Copy link
Author

kkensuke commented May 7, 2023

Use Save to Zotero button directly on the arXiv page, without opening the PDF. This automatically saves both metadata and the PDF (recommended method by Zotero docs also).

I should have noticed this earlier. It takes less time to save the PDF and its metadata than after opening the PDF. 😂

Thank you so much!

@kkensuke kkensuke closed this as completed May 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
firefox This issue affects the Firefox variant question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants