Dino cheats
chrome://dino
1. God Mode
Runner = Runner.getInstance();
window.__dinoOriginalGameOver = Runner.gameOver;
Runner.gameOver = () => {};
2. Speed
Runner.getInstance().setSpeed(100);
3. Jump
Runner.getInstance().tRex.setJumpVelocity(50);
4. Fly
Runner.getInstance().tRex.groundYPos = 0;
5. Remove obstacles
const runner = Runner.getInstance();
clearInterval(window.__dinoRemoveObstaclesTimer);
runner.horizon.obstacles = [];
window.__dinoRemoveObstaclesTimer = setInterval(() => {
runner.horizon.obstacles = [];
}, 30);
6. Autoplay bot
(() => {
const runner = Runner.getInstance();
if (window.__dinoAutoPlayTimer) {
clearInterval(window.__dinoAutoPlayTimer);
}
const sendKey = (type, code, keyCode) => {
document.dispatchEvent(
new KeyboardEvent(type, {
code,
keyCode,
which: keyCode,
bubbles: true,
cancelable: true,
}),
);
};
let lastActionAt = 0;
let ducking = false;
window.__dinoAutoPlayTimer = setInterval(() => {
if (runner.crashed || !runner.playing) return;
const obstacle = runner.horizon?.obstacles?.[0];
if (!obstacle) {
if (ducking) {
sendKey("keyup", "ArrowDown", 40);
ducking = false;
}
return;
}
const canvasHeight = runner.dimensions.HEIGHT || runner.dimensions.height;
const trexHeight = runner.tRex.config.HEIGHT || runner.tRex.config.height;
const obstacleHeight = obstacle.typeConfig?.height || 0;
const obstacleBottom = canvasHeight - obstacle.yPos - obstacleHeight;
const threshold = 25 * runner.currentSpeed - obstacle.width / 2;
if (obstacle.xPos >= threshold || Date.now() - lastActionAt < 250) return;
if (obstacleBottom > trexHeight) return; // High bird: keep running
if (obstacle.yPos > canvasHeight / 2) {
if (ducking) {
sendKey("keyup", "ArrowDown", 40);
ducking = false;
}
sendKey("keydown", "Space", 32);
sendKey("keyup", "Space", 32);
} else {
sendKey("keydown", "ArrowDown", 40);
ducking = true;
}
lastActionAt = Date.now();
}, runner.msPerFrame || 16);
})();
7. Invisible Dino
Runner = Runner.getInstance().tRex;
window.__dinoOriginalDraw = Runner.draw;
Runner.draw = function () {};
8. Distance Counter
Runner.getInstance();.distanceRan = Infinity;
9. Night Mode
Runner.getInstance().invert(true);
Runner.getInstance().invert(false);
https://greasyfork.org/en/scripts/540309-chrome-dino-mod-menu-15-3/code