此版本为完整版,带微信提示,自动提交
下载油猴脚本
chrome内核的浏览器或者使用火狐浏览器
申请微信提醒
新建2个脚本
1.
// ==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('<div id="msg" style="position:fixed;top:50%;width:100%;height:30px;line-height:30px;margin-top:-15px;"><p id="msg_p" style="background:#000;opacity:0.8;width:'+ 1000 +'px;color:#fff;text-align:center;padding:10px 10px;margin:0 auto;font-size:12px;border-radius:4px;">'+ "" +'</p></div>');
/*
*/
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+"-无货</br>");
console.log(m+"="+p+"-无货</br>");
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("京东未登录</br>");
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/“您的微信服务密钥SCKEY”?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/“您的微信服务密钥SCKEY”?text=主人JD没有登录哦:~",
onload : function (response) {
console.log(response.Reponsetext);
}
});
}
})();
2
// ==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/“您的微信服务密钥SCKEY”?text=抢到啦~赶紧付款去!!",
onload : function (response) {
console.log(response.Reponsetext);
}
});
}
$(".check-box1").click();
$(".order-submit-btn.fl").click();
test();
3 条评论
666
很不错哦,等了很久了
ssss