码迷,mamicode.com
首页 > Web开发 > 详细

磨房网 逮驴活动 刷积分JS代码

时间:2015-09-28 01:24:04      阅读:256      评论:0      收藏:0      [点我收藏+]

标签:

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 在下面 粘贴 上面 代码 回车 自动执行

 

磨房网 逮驴活动 刷积分JS代码

标签:

原文地址:http://www.cnblogs.com/yangtutu/p/4843134.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!