[login] ``` // ==UserScript== // @name New 刷燕尾蝶 蓝闪蝶 去缓存 // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author You // @match https://z.jd.com/project/details/90365.html?* // @match https://z.jd.com/project/details/90365.html // @grant GM_xmlhttpRequest // ==/UserScript== // (function() { $("body").append(''+ "" +''); /* */ document.title="fck it"; $(".box-grade").each(function(index){ //get("998","3000",$(this)); get("399","2200",$(this)); // get("1999","1700",$(this)); // get("999","1200",$(this)); //=================== }); function get(m,p,t){ var aaa=t.find(".Jfold").find(".t-price").find("span").html(); var bbb=t.find(".box-content").find(".box-limit").find(".limit-num").find("span").html(); if(aaa==m && bbb==p){ $("#msg_p").append(m+"="+p+"-无货"); console.log(m+"="+p+"-无货"); var ccc=t.find(".Jfold").find(".t-full").length; if(ccc==1){ setTimeout(re,1000); }else{ t.find(".box-content").find(".box-btn").find(".common-btn").click(); play("asasasas"); } } } function re(){ if($(".link-logout").length==0){ $("#msg_p").append("京东未登录"); jd_login(); } var urlC = location.search; var Url=location.href; var nUrl=Url.substring(0,Url.length-urlC.length); location.replace(nUrl+"?tp="+Math.floor(1000 + Math.random() * (30000 - 1000))); } function play(pay_what){ /* GM_xmlhttpRequest({ method : "GET", headers: {"Accept": "application/json"}, url : "https://sc.ftqq.com/SCU14566T8648af5164bb23034b1c2bff405181c059f13a7de0351.send?text=主人刷到耳机啦:~"+pay_what, onload : function (response) { console.log(response.Reponsetext); } });*/ window.open( "http://qpqp.xyz/index.html"); } function jd_login(){ GM_xmlhttpRequest({ method : "GET", headers: {"Accept": "application/json"}, url : "https://sc.ftqq.com/SCU14566T8648af5164bb23034b1c2bff405181c059f13a7de0351.send?text=主人JD没有登录哦:~", onload : function (response) { console.log(response.Reponsetext); } }); } })(); ``` ``` // ==UserScript== // @name jd燕尾蝶订单提交 // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author You // @match https://zc.jd.com/funding/p/orderCenter.action?flowId=* // @grant GM_addStyle // @grant GM_xmlhttpRequest // ==/UserScript== function test(){ GM_xmlhttpRequest({ method : "GET", headers: {"Accept": "application/json"}, url : "https://sc.ftqq.com/SCU14566T8648af5164bb23034b1c2bff405181c059f13a7de0351.send?text=抢到燕尾蝶啦~赶紧付款去!!", onload : function (response) { console.log(response.Reponsetext); } }); } $(".check-box1").click(); $(".order-submit-btn.fl").click(); test(); ``` [/login] 该部分仅登录用户可见 最后修改:2022 年 03 月 30 日 © 允许规范转载 打赏 赞赏作者 赞 如果觉得我的文章对你有用,请随意赞赏