// ==UserScript== // @name 网站签到工具 // @version 1.1.4 // @description 用于各种论坛和网站自动签到\n论坛签到工具,签到工具,整合吾爱破解,飘云阁,卡饭论坛,网易云音乐,天使动漫论坛等论坛和网站自动点击签到\n根据论坛签到工具 二次开发 需要添加其他网站请在反馈里留言 // @author Fxy // @homepage https://greasyfork.org/zh-CN/scripts/439136-%E7%BD%91%E7%AB%99%E7%AD%BE%E5%88%B0%E5%B7%A5%E5%85%B7 // @icon https://ae01.alicdn.com/kf/U0b4f37bdfa1c41a68fdf6a63a973a4427.jpg // @match https://www.52pojie.cn/* // @match https://www.chinapyg.com* // @match https://music.163.com/* // @match https://www.acfun.cn/* // @match https://www.wenshushu.cn/* // @match https://www.itsk.com/* // @match http*://bbs.kafan.cn/* // @match http*://bbs.wstx.com/* // @match http://www.biliacg218.xyz/* // @match http*://bbs.acg520* // @match http://www.uzacg.fun/* // @match http*://googlewk* // @match https://jiuyh.com/* // @match https://www.hifini.com/* // @match https://hifini.com/* // @match https://www.manlou99.com* // @match https://*zhutix.com/* // @match http*://www.tsdm39.net/* // @match http*://www.tsdm39.com/* // @match https://www.smzdm.com/ // @match https://www.gtloli.gay/* // @match https://www.iya.app/* // @match https://sq.wgrid.cn/* // @match http://tzsqacg.top/* // @match http://www.1000qm.vip/* // @match https://legado.cn/* // @match https://www.mydigit.cn/* // @match https://bbs.jqhdd.com/* // @match http://www.chinadsl.net/* // @match http://www.hanbao520.com/* // @match https://www.chenyuanqingshui.cn/* // @match https://www.weme.pw/* // @match https://www.52weme.org/* // @match https://bbs.wcccc.cc/ // @match https://www.sayhuahuo.xyz/* // @match https://bbs.binmt.cc/* // @match https://coklw.com/ // @match http://lzone.moe/ // @match https://hggard.com/ // @match https://keyshot.pro/* // @match https://www.wnflb2023.com/* // @match https://wnflb2023.com/* // @match https://littleskin.cn/user // @match https://www.cunhua.work/* // @match https://www.cunhua.moe/* // @match http://www.2cycd.com/* // @match http://www.2cycdx.com/* // @match https://www.4ksj.com/* // @match http*://*/plugin.php?id=*sign* // @exclude https://leaves.red/* // @require https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.4/jquery.min.js // @grant GM_addStyle // @grant GM_getResourceText // @grant GM_xmlhttpRequest // @grant unsafeWindow // @grant GM_getValue // @grant GM_setValue // @grant GM.deleteValue // @grant GM_registerMenuCommand // @run-at document-end // @copyright 2022+, Fxy // @copyright 2016+, wycaca // @copyright 2014+, jasonshaw // @copyright 2013+, Coolkid // @namespace http://tampermonkey.net/ // ==/UserScript== (function () { var APPNAME="网站签到工具1.1.4"; var NOLOGIN="-----------------------------\n["+APPNAME+"]\n状态异常或未登录,登录后自动签到\n-----------------------------"; var QIANDAO="-----------------------------\n["+APPNAME+"]\n签到完成!\n-----------------------------"; var QIANDAOTEXT="-----------------------------\n["+APPNAME+"]\n领取完成!\n-----------------------------"; //52破解 if (isURL("52pojie.cn")) { if(isURL("search.php")){ return; } window.setTimeout(function(){ if (document.body.textContent.indexOf('注册[Register]') != -1){ return; }else if(document.getElementById("g_upmine")==null && document.body.textContent.indexOf('Forbidden') == -1){ window.setTimeout(function(){ alert(NOLOGIN); },1200); }else{ var qq_bind = $("#um p:eq(1) a:eq(0) img").attr('src'); var g_upmine =document.getElementById("g_upmine"); console.log("xx") if (qq_bind.indexOf("qds.png") != -1) {//未签到 console.log("wei") window.setTimeout(function(){$("#um p:eq(1) a:eq(0) img").click();},1000); return; } } },2000); } //飘云阁 else if (isURL("chinapyg.com")) { qd4('签到领奖!', 'kx_s'); } //网易云音乐 else if (isURL("music.163.com")) { window.setTimeout(function(){ if(!window.find("登录") && !window.find("登录网易云音乐")){ var imgs2 = document.getElementsByClassName('sign')[0]; if (imgs2.text.indexOf("签 到") == 0) { imgs2.click(); return; } return; }else{ alert(NOLOGIN); return; } },3000); } //acfun else if (isURL("www.acfun.cn")) { var acfun_main = 'https://www.acfun.cn/'; var acfun_member = 'https://www.acfun.cn/member/'; if (isURL(acfun_member)) { setTimeout(function () { var ischecked = function (doc) { return (document.getElementsByClassName("sign-in-btn")[0].textContent.indexOf("已签到") != -1); }; if (!ischecked(document)) { document.getElementsByClassName("sign-in-btn")[0].click(); window.setTimeout(function(){ document.getElementById("signin-modal-show").checked = true; document.getElementsByClassName("signin-web-btn")[0].click(); window.location.reload(); },1000); } }, 2000); } } //文叔叔 else if (isURL("wenshushu.cn")) { window.setTimeout(function(){ for (var i=0; i<5; i++) { if (typeof $(".btn-icon")[i] != 'undefined') { $(".btn-icon")[i].click(); } } document.getElementsByClassName('icon-cont_clock')[0].click(); },3000); return; } //IT天空 else if (isURL("itsk.com")) { window.setTimeout(function(){ document.getElementsByClassName('qiandao')[0].click(); document.getElementsByClassName('signin-close')[0].click(); },3000); return; } //卡饭论坛 else if (isURL("bbs.kafan.cn")) { var imgs3 = document.getElementById("pper_a").getElementsByTagName("IMG"); if (imgs3[0].src.indexOf("wb.png") == -1) { document.getElementById("pper_a").click(); return; } } //WK综合论坛 else if (isURL("googlewk")) { window.setTimeout(function(){document.getElementById('JD_sign').click();},2000); return; } //二次元圣地 else if (isURL("bbs.acg520")) { window.setTimeout(function(){document.getElementsByClassName('right')[0].click();},2000); return; } //uzacg else if (isURL("uzacg")) { window.setTimeout(function(){ if(!window.find("已签到")){ document.getElementById('checkin_button2').click(); } },2000); } //樱花萌ACG else if (isURL("jiuyh")) { if (isURL("yinxingfei_zzza-yinxingfei_zzza_hall.html")) { window.setTimeout(function(){document.getElementById('zzza_go').click();},3000); } return; } //HiFiNi else if (isURL("hifini.com")) { window.setTimeout(function(){ var imgs5 = document.getElementById("sg_sign"); if(imgs5.textContent.indexOf("请登录") != -1) { alert(NOLOGIN); return; }else if(imgs5.textContent.indexOf("已签") != -1){ return; }else if(imgs5.textContent.indexOf("签到") != -1){ imgs5.click(); return; } },2000); } //致美化 else if (isURL("zhutix.com")) { var task_day_list=document.getElementsByClassName("task-day-list")[0]; var task_day_list_ul=task_day_list.childNodes.item(0); var task_day_list_ul_lis=task_day_list_ul.childNodes; var task_day_list_ul_lis_lison4=null; for(var i=0;i