标签:
setInterval(function(){
var _postType = 2;
var _postTime = Date.parse(new Date())/1000+parseInt(Math.random()*1000000000).toString().substr(0,3);
var _orderArr = [‘a‘, ‘b‘];
var _order = _orderArr[Math.floor(Math.random() * 2 + 0)];
var _md5 = $.md5(_postTime + ‘f15‘ + _postType);
if (_order == ‘b‘) {
_md5 = $.md5(_postType + ‘f15‘ + _postTime)
}
$.post("/specials/fifteen_score/", {
type: _postType,
time: _postTime,
order: _order,
md5: _md5
}, function(data) {
if (data.error != 0) {
console.log(data.msgs)
}else{
console.log(‘ok next...‘);
}
})
},1000);
使用方法:使用360极速浏览器 或者 谷歌浏览器 然后 打开磨房网 登录 按F12 打开调试模式 点击 console 在下面 粘贴 上面 代码 回车 自动执行
标签:
原文地址:http://www.cnblogs.com/yangtutu/p/4843134.html