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.
This commit is contained in:
Abe Jellinek 2025-07-31 15:47:39 -04:00 committed by Dan Stillman
parent 1fa0824027
commit 72c229eda4

View file

@ -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