掘金自动抽奖油猴脚本

适合有大量积分不想一次次点抽奖的用户,新建脚本加入,进入抽奖页即可执行 https://juejin.cn/user/center/lottery?from=lucky_lottery_menu_bar

掘金自动抽奖油猴脚本
// ==UserScript==
// @name         掘金签到
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        https://juejin.cn/user/center/lottery?from=lucky_lottery_menu_bar
// @icon         https://www.google.com/s2/favicons?domain=juejin.cn
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    var t = window.setInterval(function() {var ajax = new XMLHttpRequest();
        ajax.open('post','https://api.juejin.cn/growth_api/v1/lottery/draw',true);
        ajax.withCredentials = true;
        ajax.setRequestHeader('content-type','application/json; charset=utf-8');
        ajax.send(JSON.stringify({}));
        ajax.onreadystatechange = function (){if(ajax.readyState==4&&ajax.status==200){
                var c = ajax.responseText;
                console.log(c)
            }
        }
    },2000);
})();

手机扫描二维码访问

    本文标题:《掘金自动抽奖油猴脚本》作者:极四维博客
    原文链接:https://cway.top/post/967.html
    特别注明外均为原创,转载请注明。

    分享到微信

    扫描二维码

    可在微信查看或分享至朋友圈。

    相关文章

    发表评论:

    ◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

    «    2025年5月    »
    1234
    567891011
    12131415161718
    19202122232425
    262728293031

    搜索

    控制面板

    您好,欢迎到访网站!
      查看权限

    最新留言

    文章归档

    • 订阅本站的 RSS 2.0 新闻聚合