Google Chrome Dino-Game Hack (https://chromedino.com/)

A basic GUI for Chrome Dino Speed Hack, Jump Hack, Points Hack, Invincibility Hack, & More.

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

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

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==UserScript==
// @name         Google Chrome Dino-Game Hack (https://chromedino.com/)
// @namespace    http://tampermonkey.net/
// @version      3.2.5
// @description  A basic GUI for Chrome Dino Speed Hack, Jump Hack, Points Hack, Invincibility Hack, & More.
// @author       Cracko298
// @icon         https://www.omgchrome.com/wp-content/uploads/2015/06/chrome-trex-dinosaur.jpg
// @include      chrome://dino
// @match        chrome://dino
// @match        https://chromedino.com
// @match        https://chromedino.com/*
// @license      MIT
// @grant        none
// ==/UserScript==

function script() {
    var elem = document.getElementById('script');
    elem.parentNode.removeChild(elem);
    return false;
}


setTimeout(function() {
// Placeholder
}, 2000);

if (window.confirm("Want to Inject The Hack?")) 
{

var button = document.createElement("button");
button.innerHTML = "Set Max Score";

var body = document.getElementsByTagName("header")[0];
body.appendChild(button);

button.addEventListener ("click", function() {
  alert("Max Score Set.");
Runner.instance_.distanceRan = 899999 / Runner.instance_.distanceMeter.config.COEFFICIENT;

});
var button = document.createElement("button");
button.innerHTML = "Invincibility";

var body = document.getElementsByTagName("header")[0];
body.appendChild(button);

button.addEventListener ("click", function() {
  alert("Invincibility Set.");
var original = Runner.prototype.gameOver
Runner.prototype.gameOver = function(){}

});
var button = document.createElement("button");
button.innerHTML = "High Speed";

var body = document.getElementsByTagName("header")[0];
body.appendChild(button);

button.addEventListener ("click", function() {
  alert("High Speed Set.");
Runner.instance_.setSpeed(100)

});
var button = document.createElement("button");
button.innerHTML = "High Jump";

var body = document.getElementsByTagName("header")[0];
body.appendChild(button);

button.addEventListener ("click", function() {
  alert("High Jump Set.");
Runner.instance_.tRex.setJumpVelocity(50)

});
var button = document.createElement("button");
button.innerHTML = "Reset All Hacks";

var body = document.getElementsByTagName("header")[0];
body.appendChild(button);

button.addEventListener ("click", function() {
  alert("Reset All Hacks");
Runner.prototype.gameOver = original
Runner.instance_.tRex.setJumpVelocity(10)
Runner.instance_.setSpeed(7)
Runner.instance_.distanceRan = 0 / Runner.instance_.distanceMeter.config.COEFFICIENT;
Runner.prototype.gameOver = original
});

var button = document.createElement("button");
button.innerHTML = "Reset Invincibility";

var body = document.getElementsByTagName("header")[0];
body.appendChild(button);

button.addEventListener ("click", function() {
Runner.prototype.gameOver = original
});

}
else{
alert('The Hack Inject Was Cancelled');
Runner.prototype.gameOver = original

}