用 ChromeBot 写了个 ePhone 自动签到的脚本

早上看有个佬分享了 ChromeBot,玩了一下

{"name":"ePhone-gmail-google_account","site":"https:\/\/api.ephone.ai\/","sort":1,"actions":[{"name":"wait3","type":"等待毫秒","disable":false,"arg1":"3000","arg2":"","arg3":"","arg4":""},{"name":"closeDialog","type":"元素点击","disable":false,"arg1":"\/html\/body\/div[3]\/div\/div[2]\/div\/div\/div[3]\/button[2]","arg2":"","arg3":"","arg4":""},{"name":"clickConsole","type":"元素点击","disable":false,"arg1":"\/html\/body\/div\/section\/header\/section\/div[2]\/div[2]\/div\/div\/div\/div\/div\/ul\/a[2]\/li","arg2":"","arg3":"","arg4":""},{"name":"wait1","type":"等待毫秒","disable":false,"arg1":"1000","arg2":"","arg3":"","arg4":""},{"name":"checkin","type":"元素点击","disable":false,"arg1":"\/html\/body\/div[1]\/section\/section\/section\/section\/section\/main\/section\/main\/div[2]\/div[1]\/div\/div\/div\/div\/div\/div[1]\/div[3]\/span","arg2":"","arg3":"","arg4":""},{"name":"wait05","type":"等待毫秒","disable":false,"arg1":"500","arg2":"","arg3":"","arg4":""},{"name":"script","type":"执行脚本","disable":false,"arg1":"function clickSignIn() {\r\n    \/\/ 找到包含\"去签到\"文本的div元素\r\n    const signInElement = Array.from(document.querySelectorAll('.semi-tag-content'))\r\n        .find(el => el.textContent.includes('去签到'));\r\n    \r\n    if (signInElement) {\r\n        signInElement.click();\r\n    } else {\r\n        alert('今日已签到');\r\n    }\r\n}\r\nclickSignIn();","arg2":"","arg3":"","arg4":""}],"间隔分钟数":"1","时间单位":"天","下次运行时间":"2025年2月8日7时"}

保存成一个 json 文件后,在 ChromeBot 导入即可使用。

13 个赞

佬友好厉害

感谢大佬

好猛 mac能用chromeBot嘛- -

好像不行,是 exe 文件

模拟点击不方便,有没有脚本后台执行ephone签到的

应该不是模拟点击,我看鼠标没有动,应该就是找到某个元素调 click 。我在工作电脑上挂了几天了,使用没问题,每天都自动签到。后台脚本我没有,你可以问ai写一个,应该不难

ephone是什么玩意儿

AFF https://api.ephone.ai/

ChromeBot是什么呀

有没有青龙的

nbplus…

1 个赞

拿去玩吧,我自己维护的青龙 :grimacing:https://github.com/1229984599/qinglong

1 个赞

哈哈哈哈哈哈把正主炸出来了 :joy:

大佬nb

ikuuu 的登录网址变成https://ikuuu.one/auth/login
还有 ephone 我是使用 linux.do 论坛登录的 不知道怎么设置 ephone 变量中的用户名、密码
谢谢大佬分享~

青龙是啥 这名字有点色情奥

:grimacing: 哈哈哈哈

青龙脚本啊