Skip to content

Commit 450a780

Browse files
committed
优化 [自动签到] 功能(签到完成后将会提示)
1 parent e867879 commit 450a780

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Hostloc-Enhanced.user.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name 全球主机交流论坛增强
3-
// @version 1.1.0
3+
// @version 1.1.1
44
// @author X.I.U
55
// @description 自动签到(访问空间)、自动无缝翻页、自动显示帖子内隐藏回复、自动隐藏阅读权限 255 的帖子、回到顶部(右键点击两侧空白处)
66
// @match *://hostloc.com/*
@@ -168,6 +168,7 @@
168168
console.log(`[全球主机交流论坛 增强] 金钱 +2 (${url_list[url]})`);
169169
if (url === 11) { // 次数够了就取消定时循环
170170
console.log('[全球主机交流论坛 增强] 签到完成!');
171+
GM_notification({text: '签到完成!金钱 +20 ~', timeout: 3500});
171172
GM_setValue('menu_signingIn', false);
172173
GM_setValue('menu_signInTime', timeNow); // 写入签到时间以供后续比较
173174
clearInterval(signIn);

0 commit comments

Comments
 (0)