NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript==
// @name 7-11 ChickenGame Cheat
// @namespace http://tampermonkey.net/
// @version 0.1
// @description 7-11 ChickenGame Cheat
// @author j113203
// @match https://711chicken.com.hk/?utm_source=PR&utm_campaign=ChickenGame
// @grant none
// @license MIT
// ==/UserScript==
(function () {
'use strict';
var start = document.getElementsByClassName("panel__btn btn-to-sec")[0];
start.click();
var clicked =false;
var alreadyClicked = false;
requestAnimationFrame(function(){
start = document.getElementsByClassName("panel__btn btn-to-sec btn-game-start")[0]
start.click()
requestAnimationFrame(function(){
var timer = document.getElementsByClassName("timer__digi")[0]
var stop = document.getElementsByClassName("timer__btn-stop")[0]
var current_time = timer.outerText;
var autoClick = function(){
if (timer.outerText == "01 : 38"){
(function(proxied) {
window.setTimeout = function(func,delay) {
if (clicked){
console.log(delay)
if (!alreadyClicked){
alreadyClicked = true;
proxied.apply(this, [func,0]);
stop.click();
}else{
return proxied.apply(this, [func,1000]);
}
}else{
return proxied.apply(this, [func,1000]);
}
};
})(window.setTimeout);
requestAnimationFrame(autoClick);
}else if (timer.outerText == "01 : 39") {
clicked = true;
}else{
requestAnimationFrame(autoClick);
}
}
requestAnimationFrame(autoClick);
});
});
})();