We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da1dd9d commit e0f3b53Copy full SHA for e0f3b53
DownloadAllContent/DownloadAllContent.user.js
@@ -1157,7 +1157,7 @@ if (window.top != window.self) {
1157
}
1158
1159
let base = doc.querySelector("base");
1160
- let nextPages = !disableNextPage && !processFunc && await checkNextPage(doc, base ? base.href : aTag.href);
+ let nextPages = !disableNextPage && (!processFunc || nextPageFunc) && await checkNextPage(doc, base ? base.href : aTag.href);
1161
if (nextPages) {
1162
if (!nextPages.length) nextPages = [nextPages];
1163
nextPages.forEach(nextPage => {
0 commit comments