CSDN论坛自动签到抽奖

try to take over the world!

目前為 2020-01-13 提交的版本,檢視 最新版本

// ==UserScript==
// @name         CSDN论坛自动签到抽奖
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       大西瓜一块五一斤
// @match        https://i.csdn.net*/*
// @grant        none
// @requrie      https://code.jquery.com/jquery-3.4.1.min.js
// ==/UserScript==
(function() {
    'use strict';
    setTimeout(function() {
        var has_sign = $(".has_sign");
        if (has_sign.length == 0) {
            var sign = $(".to_sign");
            sign[0].click();
            setTimeout(function() {
                var close = $(".close");
                close[0].click();
                setTimeout(function() {
                    var reward = $(".to_reward");
                    if (reward.length > 0) {
                        reward[0].click();
                        var group = $(".btn_group");
                        group[0].click();
                        setTimeout(function() {
                            var close1 = $(".close");
                            close1[0].click();
                        },
                        2000);
                    }
                },
                2000);
            },
            2000);
        }
    },
    2000);
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址