mirror of
https://github.com/zotero/zotero.git
synced 2026-10-03 02:21:49 +00:00
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:
parent
91732419b6
commit
fd6c52ede4
1 changed files with 7 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue