收集JS双击shift键的方法,越多越好,例如:letot=0;document.onkeydown=(e)=>{if(e.shiftKey){letnt=newDate().getTime();letct=nt-ot;if(ct>0&&ct<600){console.log(e.keyCode);}ot=nt;}};
letot=0;document.onkeydown=(e)=>{if(e.shiftKey){letnt=newDate().getTime();letct=nt-ot;if(ct>0&&ct<600){console.log(e.keyCode);}ot=nt;}};
document.onkeydown=(e)=>{if(e.shiftKey){letnt=newDate().getTime();letct=nt-ot;if(ct>0&&ct<600){console.log(e.keyCode);}ot=nt;}};
if(e.shiftKey){letnt=newDate().getTime();letct=nt-ot;if(ct>0&&ct<600){console.log(e.keyCode);}ot=nt;}};
letnt=newDate().getTime();letct=nt-ot;if(ct>0&&ct<600){console.log(e.keyCode);}ot=nt;}};
letct=nt-ot;if(ct>0&&ct<600){console.log(e.keyCode);}ot=nt;}};
if(ct>0&&ct<600){console.log(e.keyCode);}ot=nt;}};
console.log(e.keyCode);}ot=nt;}};
}ot=nt;}};
ot=nt;}};
}};
};
绝地无双
相关分类