game.hg0355.com hack

Hack: feel free to touch anywhere, no fail!

Bu scripti kur?
Yazarın tavsiye ettiği betik

Siz bunuda beğenebilirsiniz: Keyboard support for http://game.hg0355.com/game/xpg/.

Bu scripti kur

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

You will need to install an extension such as Tampermonkey to install this script.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Zateb bir user-style yöneticim var, yükleyeyim!)

/* eslint-disable no-multi-spaces */

// ==UserScript==
// @name               game.hg0355.com hack
// @name:zh-CN         你是我的小苹果 判定破解
// @namespace          game.hg0355.com-hack
// @version            0.1
// @description        Hack: feel free to touch anywhere, no fail!
// @description:zh-CN  随便点哪都能接住苹果,飙手速的时候到了!
// @author             PY-DNG
// @license            MIT
// @match              http*://game.hg0355.com/game/xpg/
// @icon               https://api.iowen.cn/favicon/get.php?url=game.hg0355.com
// @grant              none
// @run-at             document-end
// ==/UserScript==


(function main() {
	if (typeof (GameLayerBG) != 'object') {
		setTimeout(main, 100);
		return false;
	}
	GameLayerBG.ontouchstart && (GameLayerBG.ontouchstart = _gameTapEvent);
	GameLayerBG.onmousedown && (GameLayerBG.onmousedown = _gameTapEvent);

	function _gameTapEvent(e) {
		if (_gameOver) {
			return false;
		}
		var tar = e.target;
		var y = e.clientY || e.targetTouches[0].clientY,
			x = (e.clientX || e.targetTouches[0].clientX) - body.offsetLeft,
			p = _gameBBList[_gameBBListIndex];
		if (y > touchArea[0] || y < touchArea[1]) {
			return false;
		}
		if (!_gameStart) {
			gameStart();
		}
		createjs.Sound.play("tap");
		tar = document.getElementById(p.id);
		tar.className = tar.className.replace(_ttreg, ' tt$1');
		_gameBBListIndex++;
		_gameScore++;
		gameLayerMoveNextRow();
		return false;
	}
})();