Skip to content

Commit

Permalink
1.9.37.106
Browse files Browse the repository at this point in the history
  • Loading branch information
hoothin committed Sep 30, 2024
1 parent a084120 commit 3662ff4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Pagetual/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[☯️](https://greasyfork.org/scripts/438684 "Install from greasyfork")東方永頁機 [v.1.9.37.105](https://greasyfork.org/scripts/438684-pagetual/code/Pagetual.user.js "Latest version")
[☯️](https://greasyfork.org/scripts/438684 "Install from greasyfork")東方永頁機 [v.1.9.37.106](https://greasyfork.org/scripts/438684-pagetual/code/Pagetual.user.js "Latest version")
==
*Pagetual - Perpetual pages. Auto loading paginated web pages for 90% of all web sites !*

Expand Down
6 changes: 3 additions & 3 deletions Pagetual/pagetual.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
// @name:da Pagetual
// @name:fr-CA Pagetual
// @namespace hoothin
// @version 1.9.37.105
// @version 1.9.37.106
// @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.
// @description:zh-CN 终极自动翻页 - 加载并拼接下一分页内容至当前页尾,智能适配任意网页
// @description:zh-TW 終極自動翻頁 - 加載並拼接下一分頁內容至當前頁尾,智能適配任意網頁
Expand Down Expand Up @@ -4116,7 +4116,7 @@
}

checkClickHref() {
if (this.curSiteRule.smart && this.nextLinkEle && (!this.linkHasHref(this.nextLinkEle) || this.nextLinkEle.target !== "_blank")) {
if (this.curSiteRule.smart && this.nextLinkEle && !this.linkHasHref(this.nextLinkEle)) {
this.urlChanged();
isPause = true;
if (!this.nextLinkHref) isLoading = false;
Expand Down Expand Up @@ -8126,7 +8126,7 @@
} else if (!ruleParser.canListenUrlChange()) {
return;
}
if ((prevPathname !== window.location.pathname || prevSearch !== window.location.search) && window.location.href != ruleParser.historyUrl) {
if ((prevPathname !== window.location.pathname || prevSearch !== window.location.search || window.location.hash.indexOf("#!") === 0) && window.location.href != ruleParser.historyUrl) {
checkUrlTime = 2000;
urlWillChange = true;
var e = new Event('pagetual_pushState');
Expand Down

0 comments on commit 3662ff4

Please sign in to comment.