Skip to content

Commit d506c2a

Browse files
committed
Update pagetual.user.js
1 parent 3331130 commit d506c2a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Pagetual/pagetual.user.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5798,9 +5798,9 @@
57985798
if (e.style.display === "none" || e.getAttribute("aria-disabled") === "true") {
57995799
return false;
58005800
}
5801-
if (/\bbanner|slick|slide|carousel|gallery/i.test(e.id)) return false;
5801+
if (/\bbanner|slick|slide|carousel/i.test(e.id)) return false;
58025802
if (e.className) {
5803-
if (!/page/i.test(e.className) && /\bbanner|slick|slide|carousel|gallery|disabled\s*$/i.test(e.className)) {
5803+
if (!/page/i.test(e.className) && /\bbanner|slick|slide|carousel|disabled\s*$/i.test(e.className)) {
58045804
return false;
58055805
} else if (e.classList) {
58065806
if (e.classList.contains('disabled') || e.classList.contains('active')) {
@@ -5809,7 +5809,7 @@
58095809
}
58105810
}
58115811
let ariaLabel = e.getAttribute("aria-label");
5812-
if (ariaLabel && /\bbanner|slick|slide|carousel|gallery/i.test(ariaLabel)) return false;
5812+
if (ariaLabel && /\bbanner|slick|slide|carousel/i.test(ariaLabel)) return false;
58135813
return true;
58145814
};
58155815
if (!ele) return false;
@@ -5919,7 +5919,8 @@
59195919
".btn_next:not([disabled])",
59205920
".btn-next:not([disabled])",
59215921
'//button[contains(@class, "Page")][text()="Next"]',
5922-
'//button[contains(@class, "page")][text()="next"]'
5922+
'//button[contains(@class, "page")][text()="next"]',
5923+
'//form/button[@type="submit"][text()="Next"]'
59235924
];
59245925
let next = await this.querySelectorList(body, selectorList, doc.defaultView);
59255926
if (!next) {

0 commit comments

Comments
 (0)