Skip to content

Commit 66caf6f

Browse files
committed
修复 自动签到后没有正确跳转到指定URL的问题
1 parent 4f0acdf commit 66caf6f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Zhiyoo-Enhanced.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name 智友邦论坛增强 - 自动签到、回复、清理置顶帖子
3-
// @version 1.0.0
3+
// @version 1.0.1
44
// @author X.I.U
55
// @description 智友邦论坛自动签到、自动回复、自动清理置顶帖子
66
// @icon http://bbs.zhiyoo.net/favicon.ico
@@ -19,7 +19,7 @@
1919
document.querySelector('#yl').click();
2020
document.querySelector('.tr3.tac div a').click();
2121
}
22-
setTimeout("location.href=qiandao_Redirect_URL", 2000); // 跳转到指定URL
22+
setTimeout(location.href=qiandao_Redirect_URL, 2000); // 跳转到指定URL
2323
}
2424
}
2525
else if(location.pathname === '/forum.php'){

0 commit comments

Comments
 (0)