奉送万能代码(以前抢小米手机懒的点击写的,其他同理):
======================
var aa=function(){
};
setInterval("aa()",50);
=============================
其中reback需要到点击的按钮的id,具体ID的方法为F12后单击放大镜,然后点下那个按钮,下面代码处就会出现那个按钮的代码,到id=***,修改reback为***即可,数字50可以随意修改,1000为1秒一次,500为0.5秒一次,50就是0.05秒一次了
================================================================
这是最简单的获取页面元素,点击页面元素,50毫秒调用一次
贾静雯的女儿
=========================================================================================
使用方法:
先说QT的:qt的先进qt.qq/client_act/act_list.shtml登录
然后进qt.qq/client_act/detail.shtml?actid=801&r=0.3157757574226707输脚本抢
输入脚本就是按F12,然后选控制台,也就是CONSOLE,时间自己定吧,最好开抢几分钟前,可以多开几个网页抢,因为总共才给5个!
爱玩的以前说过:就是进爱玩礼包主页,总共两个主页,这个最新的代码都能用,登陆QQ,然后按F12,步骤同上,粘贴入代码!
然后会让你绑定账号!无限输入验证码就行了!
===============================================================
下面是代码:
爱玩的:
===============================================================
var server=-1;var role=-1;var all=[{"name":"爱玩新100礼包","id":"234"},{"name":"爱玩新300礼包","id":"235"},{"name":"爱玩新999礼包","id":"236"},{"name":"爱玩8礼包","id":"197"},{"name":"爱玩20礼包","id":"199"},{"name":"爱玩40礼包","id":"200"},{"name":"爱玩宠物礼包(注意要有1金币!)","id":"214"}];iwan.ui.gameServer({target:$("body"),gameId:40,areaId:-1,serverId:-1,disabled:false,ok:function(t,r,i){server=r;role=i;function CreateOption(){var ateElement("DIV");dvSelect.style.border="solid 1px black";dvSelect.style.height="280px";dvSelect.style.width="350px";dvSelect.id="AiWan";dvSelect.style.backgroundColor="white";var ateElement("div");dv.innerHTML="选择你要刷的礼包:";dv.style.paddingLeft="30px";dv.style.height="40px";dv.style.lineHeight="40px";dvSelect.appendChild(dv);for(var i=0;i<all.length;i++){var ateElement("DIV");dv.style.height="40px";dv.style.lineHeight="40px";dv.style.verticalAlign="middle";dv.style.paddingLeft="50px";dv.innerHTML="<input type='radio' name='cbSelect' class='cbSelect' style='vertical-align:middle' /> <span style='margin-left:20px;vertical-align:middle'>"+ all[i].name+"</span>";dvSelect.appendChild(dv);}
document.body.appendChild(dvSelect);}
document.title="QQ邮箱";function o(){var e=[];return e.push("<div class='ui-verify' >"),e.push("<dl class='clearfix'>"),e.push("<dt><img id='imgVerify'  src='' title='\u770b\u
4e0d\u6e05\u695a\uff0c\u6362\u4e00\u5f20' /></dt>"),e.push("<dd><div><input id='txtVerify' maxlength='4' type='text' /></div><a id='btnChVerify' href='#'>\u770b\u4e0d\u6e05\u695a\uff0c\u6362\u4e00\u5f20</a></dd>"),e.push("</dl>"),e.push("<label id='errVerify' >111</label>"),e.push("</div>"),e.push("<div style='magin-left:55px'>输一次验证码抢一次,没抢到接着输!</div>"),e.join("")}
$("body").empty();CreateOption();$("#AiWan").append(o());$("#txtVerify").keyup(function(){if($(this).val().length==4){Get();}})
loader("verifycode/verifycode",function(){$hangeImg("imgVerify"),$("#txtVerify").val("").focus();});function Get(){$.getJSON("iwan.qq/fuli/exchange",{id:all[$(".cbSelect:checked").parent().index()-1].id,serverId:server,roleId:role,vcode:$("#txtVerify").val(),rd:(new Date).getTime()},function(e){if(e.success==11){alert("领取成功!"+ e.error);}
else{$(".ui-verify").append("<div>领取失败:"+ e.error+",重新输入验证可以再次抢!</div>");loader("v
erifycode/verifycode",function(){$hangeImg("imgVerify"),$("#txtVerify").val("").focus();});}})}},cancel:function(){e.find("a.close").click()}})
===============================================================
QT的,貌似现在已经过期了,不能抢了,但是还是发下:
===============================================================
function AjaxGetGift() {
var url = 'qt.qq/php_cgi/act/seckill/get_gift_cdkey.php?actid=' + actid + '&r=' + Math.random();
$.ajax({
type: "GET",
dataType: 'JSON',
url: url,
success: function (msg) {
try {
var obj = eval("(" + msg + ")");
} catch (e) {
ShowError("系统繁忙,请稍候再试。");
return;
}
//登录态丢失,需要弹出登录框
if ( == 100) {
ShowError(obj.msg, 100);
return;
}
if ( == 0) {
if (act_obj.seckill == 1) {
var s = ['<p><b class="fb green">' + obj.msg + '</b></p>'];
} else {
var s = [
'<p><b class="fb green">' + obj.msg + '</b> <a class="a2" id="keyurl" target="_blank" href="' + obj.url + '">马上激活</a></p>'
, '<p class="c"><input id="keydata" onclick="this.select();" class="fl put_txt2" type="text" value="' + obj.cdkey + '" /><a href="javascript:setcopy();" class="fl link_copy">复制</a></p>'
];
}
$('#cb_span_ticket').html(s.join(""));
//$("#b_cnt_time").html('');
$('#lnk_get_gift').hide();
var sp_tick = ElementById("tick_cnt");
if (sp_tick && == 0) {
sp_tick.innerHTML = obj.left_ticket;
Cookie.set("myticket", obj.left_ticket);
}
} else {
ShowError(obj.msg);
}
},
error: function () {
ShowError("系统繁忙,请稍候再试。");
return;
}
})
}
var i = 0;
function ShowError(msg) {
i++;
$("body").append("<div style='position:absolute;right:50px;top:" + 20 * i + "px'>" + msg + "</div>");
}
setInterval(AjaxGetGift, 500);
===============================================================