Skip to content

Commit 6d3ed96

Browse files
committed
1.9.37.100
1 parent 627af70 commit 6d3ed96

2 files changed

Lines changed: 32 additions & 3 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.99](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.100](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: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// @name:fr Pagetual
1212
// @name:it Pagetual
1313
// @namespace hoothin
14-
// @version 1.9.37.99
14+
// @version 1.9.37.100
1515
// @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.
1616
// @description:zh-CN 终极自动翻页 - 加载并拼接下一分页内容至当前页尾,智能适配任意网页
1717
// @description:zh-TW 終極自動翻頁 - 加載並拼接下一分頁內容至當前頁尾,智能適配任意網頁
@@ -127,6 +127,7 @@
127127
disableSiteTips: "Disabled on this site.",
128128
enableSiteTips: "Enabled on this site.",
129129
enable: "✅Enable automatic page turning",
130+
tempActive: "Temporarily active",
130131
toTop: "Back to Top.",
131132
toBottom: "Go to Bottom.",
132133
current: "Current Page.",
@@ -251,6 +252,7 @@
251252
disableSiteTips: "Desabilitado neste site.",
252253
enableSiteTips: "Ativado neste site.",
253254
enable: "✅Ativar rolagem automática de página.",
255+
tempActive: "Temporariamente ativo",
254256
toTop: "Voltar ao Topo.",
255257
toBottom: "Ir para o Rodapé.",
256258
current: "Página Atual.",
@@ -375,6 +377,7 @@
375377
disableSiteTips: "Desactivado en este sitio",
376378
enableSiteTips: "Activado en este sitio",
377379
enable: "✅Habilitar",
380+
tempActive: "Temporalmente activo",
378381
toTop: "Ir al inicio",
379382
toBottom: "Ir al final",
380383
current: "Página actual",
@@ -500,6 +503,7 @@
500503
disableSiteTips: "%D9%85%D8%B9%D8%B7%D9%84%20%D8%B9%D9%84%D9%89%20%D9%87%D8%B0%D8%A7%20%D8%A7%D9%84%D9%85%D9%88%D9%82%D8%B9",
501504
enableSiteTips: "%D9%85%D9%81%D8%B9%D9%84%20%D8%B9%D9%84%D9%89%20%D9%87%D8%B0%D8%A7%20%D8%A7%D9%84%D9%85%D9%88%D9%82%D8%B9",
502505
enable: "%D9%85%D9%81%D8%B9%D9%84",
506+
tempActive: "%D9%86%D8%B4%D8%B7%20%D9%85%D8%A4%D9%82%D8%AA%D8%A7",
503507
toTop: "%D8%A5%D9%84%D9%89%20%D8%A7%D9%84%D8%A3%D8%B9%D9%84%D9%89",
504508
toBottom: "%D8%A5%D9%84%D9%89%20%D8%A7%D9%84%D8%A3%D8%B3%D9%81%D9%84",
505509
current: "%D8%A7%D9%84%D8%B5%D9%81%D8%AD%D8%A9%20%D8%A7%D9%84%D8%AD%D8%A7%D9%84%D9%8A%D8%A9",
@@ -623,6 +627,7 @@
623627
disableSiteTips: "已在此站禁用",
624628
enableSiteTips: "已在此站启用",
625629
enable: "✅启用自动翻页",
630+
tempActive: "临时启用翻页",
626631
toTop: "回到顶部",
627632
toBottom: "前往页尾",
628633
current: "当前页",
@@ -746,6 +751,7 @@
746751
disableSiteTips: "已在此站禁用",
747752
enableSiteTips: "已在此站啟用",
748753
enable: "✅啟用自動翻頁",
754+
tempActive: "臨時啟用翻頁",
749755
toTop: "回到頂部",
750756
toBottom: "前往頁尾",
751757
current: "當前頁",
@@ -869,6 +875,7 @@
869875
disableSiteTips: "このサイトで既に無効になっています",
870876
enableSiteTips: "このサイトで既に有効になっています",
871877
enable: "✅ページめくりを有効にする",
878+
tempActive: "一時的にアクティブ",
872879
toTop: "トップに戻る",
873880
toBottom: "ページの下部に移動",
874881
current: "現在のページ",
@@ -992,6 +999,7 @@
992999
disableSiteTips: "Выключено для этого сайта",
9931000
enableSiteTips: "Включено для этого сайта",
9941001
enable: "✅Включить",
1002+
tempActive: "Временно активен",
9951003
toTop: "Наверх",
9961004
toBottom: "Вниз",
9971005
current: "Текущая страница",
@@ -7293,9 +7301,30 @@
72937301
if (!ruleParser.curSiteRule.url) {
72947302
setTimeout(() => {
72957303
location.reload();
7296-
}, 500);
7304+
}, 300);
72977305
}
72987306
});
7307+
if (forceState == 1) {
7308+
let tempActive = await getListData("tempActive", location.host + location.pathname);
7309+
if (tempActive) {
7310+
setListData("tempActive", location.host + location.pathname, "");
7311+
forceState = 0;
7312+
} else {
7313+
_GM_registerMenuCommand(i18n("tempActive"), () => {
7314+
if (forceState == 1) {
7315+
forceState = 0;
7316+
showTips(i18n("enableSiteTips"));
7317+
changeStop(false, true);
7318+
setListData("tempActive", location.host + location.pathname, true);
7319+
if (!ruleParser.curSiteRule.url) {
7320+
setTimeout(() => {
7321+
location.reload();
7322+
}, 100);
7323+
}
7324+
}
7325+
});
7326+
}
7327+
}
72997328
_GM_registerMenuCommand(i18n("toggleAutoScroll"), () => {
73007329
autoScroll = (autoScroll ? 0 : prompt(i18n("autoScrollRate"), autoScrollRate)) || 0;
73017330
autoScroll = parseInt(autoScroll) || 0;

0 commit comments

Comments
 (0)