Skip to content

Commit 8123fd3

Browse files
committed
更新 description; 优化 细节
1 parent a13a51d commit 8123fd3

1 file changed

Lines changed: 12 additions & 13 deletions

File tree

Autopage.user.js

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
// @name:en AutoPager
66
// @version 5.2.1
77
// @author X.I.U
8-
// @description 无缝追加下一页内容(瀑布流),目前支持:【所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP」论坛】【百度、谷歌(Google)、必应(Bing)、搜狗、微信、360、Yahoo、Yandex 等搜索引擎...】、贴吧、豆瓣、知乎、微博、NGA、V2EX、B 站(Bilibili)、煎蛋网、龙的天空、起点中文、IT之家、千图网、千库网、Pixabay、Pixiv、3DM、游侠网、游民星空、NexusMods、Steam 创意工坊、CS.RIN.RU、BT之家、萌番组、动漫花园、樱花动漫、爱恋动漫、AGE 动漫、Nyaa、SrkBT、RARBG、SubHD、423Down、不死鸟、扩展迷、小众软件、【动漫狂、漫画猫、漫画屋、漫画 DB、动漫之家、拷贝漫画、HiComic、Mangabz、Xmanhua 等漫画网站...】、PubMed、Z-Library、GreasyFork、Github、StackOverflow(以上仅一小部分,更多的写不下了...
9-
// @description:zh-TW 無縫追加下一頁內容(瀑布流),支持各論壇、社交、遊戲、漫畫、小說、學術、搜索引擎(Google、Bing、Yahoo...) 等網站~
8+
// @description ⭐无缝追加下一页内容到网页底部(瀑布流),目前支持:【所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP...」论坛】【百度、谷歌(Google)、必应(Bing)、搜狗、微信、360、Yahoo、Yandex 等搜索引擎...】、贴吧、豆瓣、知乎、微博、NGA、V2EX、B 站(Bilibili)、煎蛋网、龙的天空、起点中文、IT之家、千图网、千库网、Pixabay、Pixiv、3DM、游侠网、游民星空、NexusMods、Steam 创意工坊、CS.RIN.RU、BT之家、萌番组、动漫花园、樱花动漫、爱恋动漫、AGE 动漫、Nyaa、SrkBT、RARBG、SubHD、423Down、不死鸟、扩展迷、小众软件、【动漫狂、漫画猫、漫画屋、漫画 DB、动漫之家、拷贝漫画、HiComic、Mangabz、Xmanhua 等漫画网站...】、PubMed、Z-Library、GreasyFork、Github、StackOverflow(以上仅一小部分,更多的写不下了...
9+
// @description:zh-TW ⭐無縫追加下一頁內容到網頁底部(瀑布流),支持各論壇、社交、遊戲、漫畫、小說、學術、搜索引擎(Google、Bing、Yahoo...) 等網站~
1010
// @description:en Append the next page content to the bottom seamlessly (like a waterfall)~
1111
// @match *://*/*
1212
// @connect userscript.xiu2.xyz
@@ -1398,17 +1398,16 @@ function: {
13981398
} else { // 写入最新规则
13991399

14001400
GM_setValue('menu_rules', response.response);
1401-
if (notification) { // 通知并重新判断
1402-
curSite = {SiteTypeID: 0}; pageNum.now = 1; // 重置规则+页码
1403-
registerMenuCommand(); // 重新判断规则
1404-
if (curSite.style) {insStyle(curSite.style)} // 插入 Style CSS 样式
1405-
curSite.pageUrl = ''; // 下一页URL
1406-
pageLoading(); // 自动无缝翻页
1407-
1408-
if (GM_getValue('menu_page_number')) {pageNumber('add');} else {pageNumber('set');} // 显示页码
1409-
pausePageEvent(); // 左键双击网页空白处暂停翻页
1410-
GM_notification({text: '✅ 已更新外置翻页规则!\n如果依然无法翻页,则说明还不支持当前网页,欢迎点击此处提交申请~', timeout: 5000, onclick: function(){window.GM_openInTab('https://github.com/XIU2/UserScript#xiu2userscript', {active: true,insert: true,setParent: true});window.GM_openInTab('https://greasyfork.org/zh-CN/scripts/419215/feedback', {active: true,insert: true,setParent: true});}});
1411-
}
1401+
1402+
curSite = {SiteTypeID: 0}; pageNum.now = 1; // 重置规则+页码
1403+
registerMenuCommand(); // 重新判断规则
1404+
if (curSite.style) {insStyle(curSite.style)} // 插入 Style CSS 样式
1405+
curSite.pageUrl = ''; // 下一页URL
1406+
pageLoading(); // 自动无缝翻页
1407+
1408+
if (GM_getValue('menu_page_number')) {pageNumber('add');} else {pageNumber('set');} // 显示页码
1409+
pausePageEvent(); // 左键双击网页空白处暂停翻页
1410+
if (notification) GM_notification({text: '✅ 已更新外置翻页规则!\n如果依然无法翻页,则说明还不支持当前网页,欢迎点击此处提交申请~', timeout: 5000, onclick: function(){window.GM_openInTab('https://github.com/XIU2/UserScript#xiu2userscript', {active: true,insert: true,setParent: true});window.GM_openInTab('https://greasyfork.org/zh-CN/scripts/419215/feedback', {active: true,insert: true,setParent: true});}});
14121411
}
14131412
} else {
14141413
GM_notification({text: '❌ 更新失败,请联系作者解决...', timeout: 5000});

0 commit comments

Comments
 (0)