Skip to content

Commit db1025e

Browse files
committed
新增 [六音软件] 支持; 优化 代码
1 parent a1f9783 commit db1025e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Autopage.user.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@
728728
curSite = DBSite.appinn;
729729
break;
730730
case 'www.sixyin.com': // < 六音软件 >
731-
if (location.pathname === '/') { // 首页
731+
if (location.pathname === '/' && location.search === '') { // 首页
732732
curSite = DBSite.sixyin;
733733
} else if (location.pathname.indexOf('.html') === -1) { // 分类页
734734
curSite = DBSite.sixyin_postlist;
@@ -1173,10 +1173,10 @@
11731173
document.body.addEventListener('dblclick', function (e) {
11741174
if (pausePage) {
11751175
pausePage = false;
1176-
GM_notification({text: `已暂停本页 [自动无缝翻页]\n(再次双击可恢复)`, timeout: 2500});
1176+
GM_notification({text: `已暂停本页 [自动无缝翻页]\n (再次双击可恢复)`, timeout: 2500});
11771177
} else {
11781178
pausePage = true;
1179-
GM_notification({text: `已恢复本页 [自动无缝翻页]\n(再次双击可暂停)`, timeout: 2500});
1179+
GM_notification({text: `已恢复本页 [自动无缝翻页]\n (再次双击可暂停)`, timeout: 2500});
11801180
}
11811181
});
11821182
}

0 commit comments

Comments
 (0)