A-A+
测测你的眼睛对色差的辨识度 JS作弊

【注意:此文章为博主原创文章!转载需注意,请带原文链接,至少也要是txt格式!】
今天玩了一个小游戏,“测测你的眼睛对色差的辨识度”,这个你可以百度一下就懂了,不过经过测试发现就是JS写的小东东。
下面直接是作弊代码。
新版作弊码:
1 2 3 4 | setInterval(function(){
API.color.render(1);
var T_Dom = document.getElementById('box').childNodes;
T_Dom[0].click();},80); |
老版作弊码,废弃。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | setInterval(function(){
//API.color.render(0,1) //如果去掉这行代码的注释那么将超速运行。
var T_Dom = document.getElementById('box');
var T_Dom_Child = T_Dom.childNodes;
var flag = T_Dom_Child[0].style.backgroundColor;
var t1_value,True_Flag;
for(var key in T_Dom_Child){
if(key != 0){
if(T_Dom_Child[key].style.backgroundColor != flag){
console.log(key);
t1_value = key;
break;
}
}
}
if(t1_value != T_Dom_Child.length-1){
if(T_Dom_Child[t1_value].style.backgroundColor == T_Dom_Child[Number(t1_value)+1].style.backgroundColor){
t1_value = 0;
}
}
//T_Dom_Child[t1_value].style.backgroundColor = 'white';
T_Dom_Child[t1_value].id = 'white';
document.getElementById("white").click();
},100); |
布施恩德可便相知重
微信扫一扫打赏
支付宝扫一扫打赏