From fd6c52ede40e39073729e9620ea760ce7655abc9 Mon Sep 17 00:00:00 2001 From: Abe Jellinek Date: Thu, 31 Jul 2025 15:47:39 -0400 Subject: [PATCH] Find Full Text: Simulate ProQuest redirect back to original page (#5443) We don't follow JS redirects, so this is necessary in order for us to get to a translatable page after authentication. --- chrome/content/zotero/xpcom/attachments.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/chrome/content/zotero/xpcom/attachments.js b/chrome/content/zotero/xpcom/attachments.js index a11277419e..96b296d9f5 100644 --- a/chrome/content/zotero/xpcom/attachments.js +++ b/chrome/content/zotero/xpcom/attachments.js @@ -2197,6 +2197,13 @@ Zotero.Attachments = new function () { nextURL = refreshURL; continue; } + // ProQuest does a JS redirect back to the original page after authenticating + // Simulate that ourselves + else if (responseURL === 'https://www.proquest.com/intermediateredirectforezproxy') { + doc = null; + nextURL = pageURL; + continue; + } } // Don't try this page URL again