Skip to content

Commit bbcc44c

Browse files
committed
1.9.37.115
1 parent 72a131f commit bbcc44c

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

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.114](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.115](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: 15 additions & 1 deletion
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.114
34+
// @version 1.9.37.115
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 終極自動翻頁 - 加載並拼接下一分頁內容至當前頁尾,智能適配任意網頁
@@ -4657,6 +4657,9 @@
46574657
background: white;
46584658
opacity: 0;
46594659
}
4660+
#pagetual-sideController.minSize.uninited #pagetual-sideController-move > svg {
4661+
opacity: 1;
4662+
}
46604663
#pagetual-sideController #pagetual-sideController-move > img,
46614664
#pagetual-sideController #pagetual-sideController-move > span {
46624665
width: 35px;
@@ -4689,6 +4692,9 @@
46894692
#pagetual-sideController.minSize #pagetual-sideController-pagenum {
46904693
opacity: 1;
46914694
}
4695+
#pagetual-sideController.minSize.uninited #pagetual-sideController-pagenum {
4696+
opacity: 0;
4697+
}
46924698
#pagetual-sideController:hover {
46934699
opacity: 1;
46944700
}
@@ -4978,6 +4984,14 @@
49784984
}
49794985
this.pagenum.innerHTML = createHTML(curPage);
49804986
this.frame.title = i18n("page") + curPage;
4987+
if (!this.validPage) {
4988+
if (curPage === 1) {
4989+
this.frame.classList.add("uninited");
4990+
} else {
4991+
this.frame.classList.remove("uninited");
4992+
this.validPage = true;
4993+
}
4994+
}
49814995
if (this.frame.parentNode) return;
49824996
getBody(document).appendChild(this.frame);
49834997
clearTimeout(this.hideTimer);

0 commit comments

Comments
 (0)