您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
try to take over the world!
当前为
// ==UserScript== // @name sub // @namespace http://tampermonkey.net/ // @version 0.3.8 // @description try to take over the world! // @author cx // @match https://buy.damai.cn/orderConfirm* // @run-at document-end // @grant none // @require http://code.jquery.com/jquery-1.11.1.min.js // ==/UserScript== var time; (function() { var url = window.location.href; if(url.indexOf("umidToken") == -1){ var cookie = getCookie("UUrl"); console.log(cookie); if(cookie != null && cookie != ''){ window.location.href = cookie; } } $(".next-checkbox-label").click(); $(".submit-wrapper>button").click(); time = setInterval(function (e) { if($(".ticket-buyer-detail-item").html()!=''){ $(".submit-wrapper>button").click(); }else{ $(".submit-wrapper>button").click(); console.log("+++++++++++++++++++++++++++++++++++++++++++++++"); }; $(".opened").closest("div").remove() },1500); })(); // 读取cookie function getCookie(c_name) { if (document.cookie.length > 0) { var c_start = document.cookie.indexOf(c_name + "="); if (c_start != -1){ c_start = c_start + c_name.length + 1; var c_end = document.cookie.indexOf(";", c_start); if (c_end == -1) c_end = document.cookie.length; return unescape(document.cookie.substring(c_start, c_end)); } } return ""; }