Auto DGGV by huukhuong
Script tự động đánh giá giảng viên SGUunknown
javascript
3 years ago
478 B
15
Indexable
const myInterval = setInterval(myTimer, 500);
let i = 0;
function myTimer() {
i+=1;
let name = "TraLoiDG" + i;
let radio = $("input[name="+name+"]")[random(2, 4)];
try {
radio.click();
} catch(e) {
}
if(i > 18) {
myStopFunction();
}
}
function myStopFunction() {
clearInterval(myInterval);
Save("Xin chân thành cảm ơn!");
}
function random(min, max) {
return Math.floor(Math.random() * (max - min + 1) + min)
}Editor is loading...