// ==UserScript==
// @name pu签到-花花
// @namespace http://github.com/aihuahua
// @version 1.0.1
// @description 破解pu网页签到签退
// @author 爱花花
// @match https://m.pocketuni.net/event_school/sign/eventId/*
// @grant GM_getValue
// @grant GM_setValue
// @grant GM_deleteValue
// @grant GM_listValues
// @grant GM_registerMenuCommand
// @grant GM_addStyle
// @grant GM_xmlhttpRequest
// 这里的 @run-at 非常重要,设置在文档开始时就载入脚本
// @run-at document-end
// @license MIT
// @downloadURL none
// ==/UserScript==
(function () {
var signInDoc = document.createElement("p");
signInDoc.innerHTML += '签到' +
'签退';
$(signInDoc).appendTo(".container > h2").first().detach("html")
$("#sign_in").click(
function () {
signIn_time_clicks = true;
signIn();
}
);
$("#sign_out").click(
function () {
signOut_time_clicks = true;
signOut();
}
);
})();