// ==UserScript== // @name geekhub自动签到 // @namespace http://tampermonkey.net/ // @version 0.1 // @description https://geekhub.com/自动签到 // @author zz // @match https://geekhub.com/* // @grant none // @downloadURL none // ==/UserScript== (function() { 'use strict'; // Your code here... $.ajax({ url: '/checkins/start', type: 'post', dataType: 'json', data: { }, beforeSend: function () { console.log("自动签到中,请稍后..."); }, success: function (data) { console.log(data); } }); })();