Skip to content

Commit 5d4b7ab

Browse files
committed
update
1 parent a517613 commit 5d4b7ab

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

52pojie-Enhanced.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
// 自动签到
1919
function qianDao() {
2020
var qiandao = document.querySelector('#um p:last-child a:first-child');
21-
if (!qiandao){
21+
if (qiandao){
2222
if(qiandao.href === "https://www.52pojie.cn/home.php?mod=task&do=apply&id=2")
2323
{
2424
qiandao.click();
@@ -29,7 +29,7 @@
2929
// 签到后立即返回
3030
function qianDaoBack() {
3131
var qiandaoback = document.querySelector('#messagetext p.alert_btnleft a');
32-
if (!qiandaoback){
32+
if (qiandaoback){
3333
if(location.href === "https://www.52pojie.cn/home.php?mod=task&do=draw&id=2")
3434
{
3535
qiandaoback.click();

0 commit comments

Comments
 (0)