Zotero and Firefox Containers
Hi,
I use Firefox with multi-account Containers (https://addons.mozilla.org/en-US/firefox/addon/multi-account-containers/) which is a way to prevent leaking of cookies and login information between different websites. In particular, I set up a "Job" container, associated to scientific journals' websites, for example those of the American Physical Society (aps.org).
APS policy is to put a verification page before a pdf can be downloaded (one has to click an image to prove not being a bot). In the past, I could use the APS Zotero connector to save a journal reference and it associated pdf, provided I had previously clicked on the verification image.
Now, I realized that if said webpage is inside my "Job" container, even if I first click on the verification image, then the Zotero connector is not able to download the pdf. I digged in Zotero log and found:
(2)(+0000016): Error: Downloaded PDF was not a PDF Error: Downloaded PDF was not a PDF Zotero.Attachments</this.downloadFile@chrome://zotero/content/xpcom/attachments.js:866:11 From previous event: Zotero.Server.DataListener.prototype._bodyData@chrome://zotero/content/xpcom/server.js:329:3 Zotero.Server.DataListener.prototype._headerFinished@chrome://zotero/content/xpcom/server.js:301:3 Zotero.Server.DataListener.prototype.onDataAvailable@chrome://zotero/content/xpcom/server.js:204:4
I guess Zotero is exiting the "Job" container when looking for the pdf, so it does not profit of the correct cookie which would give access to the pdf.
Has anybody encountered this problem? I understand it is a peculiar case, but could anybody suggest me a workaround, other that stopping using Firefox Containers?
Thank you very much
Gianluca
I use Firefox with multi-account Containers (https://addons.mozilla.org/en-US/firefox/addon/multi-account-containers/) which is a way to prevent leaking of cookies and login information between different websites. In particular, I set up a "Job" container, associated to scientific journals' websites, for example those of the American Physical Society (aps.org).
APS policy is to put a verification page before a pdf can be downloaded (one has to click an image to prove not being a bot). In the past, I could use the APS Zotero connector to save a journal reference and it associated pdf, provided I had previously clicked on the verification image.
Now, I realized that if said webpage is inside my "Job" container, even if I first click on the verification image, then the Zotero connector is not able to download the pdf. I digged in Zotero log and found:
(2)(+0000016): Error: Downloaded PDF was not a PDF Error: Downloaded PDF was not a PDF Zotero.Attachments</this.downloadFile@chrome://zotero/content/xpcom/attachments.js:866:11 From previous event: Zotero.Server.DataListener.prototype._bodyData@chrome://zotero/content/xpcom/server.js:329:3 Zotero.Server.DataListener.prototype._headerFinished@chrome://zotero/content/xpcom/server.js:301:3 Zotero.Server.DataListener.prototype.onDataAvailable@chrome://zotero/content/xpcom/server.js:204:4
I guess Zotero is exiting the "Job" container when looking for the pdf, so it does not profit of the correct cookie which would give access to the pdf.
Has anybody encountered this problem? I understand it is a peculiar case, but could anybody suggest me a workaround, other that stopping using Firefox Containers?
Thank you very much
Gianluca
However, I noticed that if force Firefox to open the verify page in the No context container, then I am able to save PDFs even from my "Job" context, for a few minutes. This makes sense, because the cookie is saved in the no context container.
This is kind of ugly, because I set the APS websites to open automatically in my "Job" container, so I have to manually force the verification page in the No context container once per session.
moz-extension://d94a6103-af42-498b-a95a-f7a93ceb020c
).