Skip to content

Commit 6e0d058

Browse files
committed
update
1 parent 3777657 commit 6e0d058

2 files changed

Lines changed: 11 additions & 8 deletions

File tree

Pagetual/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[☯️](https://greasyfork.org/scripts/438684 "Install from greasyfork")東方永頁機 [v.1.9.37.117](https://greasyfork.org/scripts/438684-pagetual/code/Pagetual.user.js "Latest version")
1+
[☯️](https://greasyfork.org/scripts/438684 "Install from greasyfork")東方永頁機 [v.1.9.37.119](https://greasyfork.org/scripts/438684-pagetual/code/Pagetual.user.js "Latest version")
22
==
33
*Pagetual - Perpetual pages. Auto loading paginated web pages for 90% of all web sites !*
44

Pagetual/pagetual.user.js

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
// @name:da Pagetual
3232
// @name:fr-CA Pagetual
3333
// @namespace hoothin
34-
// @version 1.9.37.118
34+
// @version 1.9.37.119
3535
// @description Perpetual pages - powerful auto-pager script. Auto fetching next paginated web pages and inserting into current page for infinite scroll. Support thousands of web sites without any rule.
3636
// @description:zh-CN 终极自动翻页 - 加载并拼接下一分页内容至当前页尾,智能适配任意网页
3737
// @description:zh-TW 終極自動翻頁 - 加載並拼接下一分頁內容至當前頁尾,智能適配任意網頁
@@ -3034,10 +3034,9 @@
30343034
".next>button",
30353035
"a[alt=next]",
30363036
".pg_area>em+a",
3037-
"button.next:not([disabled])",
3038-
".btn_next:not([disabled])",
3039-
".btn-next:not([disabled])",
30403037
"a#linkNext",
3038+
".page>em+a",
3039+
"a.page_next",
30413040
"body a[class*=page__next]",
30423041
"body [class*=pager]>a.next",
30433042
"body [class*=pagination-next]>a",
@@ -3049,8 +3048,10 @@
30493048
"body [class*=paginat] [class*=next-next]",
30503049
"body [class*=paginat] [class*=next]",
30513050
"body [class*=paginat] [class*=right]",
3052-
".page>em+a",
30533051
"[name*=nextPage]",
3052+
"button.next:not([disabled])",
3053+
".btn_next:not([disabled])",
3054+
".btn-next:not([disabled])",
30543055
'//button[contains(@class, "Page")][text()="Next"]',
30553056
'//button[contains(@class, "page")][text()="next"]'
30563057
];
@@ -8480,7 +8481,7 @@
84808481
selObj = selection && selection.cloneContents().children[0];
84818482
if (selObj && !compareNodeName(selObj, ["img"])) selObj = false;
84828483
}
8483-
if (selObj) {
8484+
if (selObj && selObj.trim()) {
84848485
return;
84858486
}
84868487
} catch (e) {}
@@ -8895,7 +8896,9 @@
88958896
let tdNum = 0;
88968897
if (exampleStyle.display == "table-row") {
88978898
[].forEach.call(example.children, el => {
8898-
tdNum += el.colSpan || 1;
8899+
if (el.offsetParent) {
8900+
tdNum += el.colSpan || 1;
8901+
}
88998902
});
89008903
} else {
89018904
[].forEach.call(example.children, el => {

0 commit comments

Comments
 (0)