'Hack' Google Chrome's dinosaur game to make your T-Rex immortal and at max speed

You can use cheat codes to 'hack' this game to help your T-rex win on the endless racetrack in a super simple way.

Mini game T-rex, an endless running game created by Google to help users entertain and kill time when they lose the Internet. This game has a very simple gameplay, users just need to press the Space Bar key, up and down arrows to control a dinosaur and avoid obstacles on the desert road.

Until now, T-rex has gradually become a companion for millions of users while waiting for the Internet to work again.

Picture 1 of 'Hack' Google Chrome's dinosaur game to make your T-Rex immortal and at max speed

Every game is 'hacked' and the T-rex mini game is no exception. You can use cheat codes to 'hack' this game to help your T-rex win on the endless racetrack in a super simple way.

How to hack T-rex game on Google Chrome

Step 1 : Open the pre-installed T-rex mini game on Chrome by disconnecting from the Internet or entering chrome://dinothe address bar and pressing Enter to open the No Internet page. Then, start playing the game by pressing the Space Bar key .

Step 2 : When the dinosaur starts running, right-click anywhere and select Inspect or press Ctrl + Shift + I to open the Inspect window.

Picture 2 of 'Hack' Google Chrome's dinosaur game to make your T-Rex immortal and at max speed

Step 3 : Select the Console tab .

Picture 3 of 'Hack' Google Chrome's dinosaur game to make your T-Rex immortal and at max speed

Immortal T-rex dinosaur

To help your dinosaur become immortal and never Game Over even when colliding with a cactus or a flying bird, copy the 2 codes below and paste it into the Console tab that was opened in step 1. 3, then press Enter to activate.

Code 1:

var original = Runner.prototype.gameOver

Code 2:

Runner.prototype.gameOver = function (){}

Picture 4 of 'Hack' Google Chrome's dinosaur game to make your T-Rex immortal and at max speed

Super fast T-rex dinosaur

So that your dinosaur can speed up as desired, copy the code below and paste it into the open Console tab in step 3, then press Enter to activate.

Code:

Runner.instance_.setSpeed(1000)

Picture 5 of 'Hack' Google Chrome's dinosaur game to make your T-Rex immortal and at max speed

Note : The number in brackets is the dinosaur's speed, you can change it as you like.

Once completed, when you play the game you will see the following video:

To be able to play this mini game normally, you just need to turn off this No Internet page and open another page.

Readers share additional tips:

Thanh dat to , shared the new auto cheat, you can refer to it below: (Because the coda is too long, the post in the comment can't show all of it, so I brought it to the post to have the function to copy the code too) .

function keyDown(e){Podium={}; var n=document.createEvent("KeyboardEvent"); Object.defineProperty(n,"keyCode",{get:function(){return this.keyCodeVal}}),n.initKeyboardEvent?n.initKeyboardEvent("keydown",!0,!0,document.defaultView,e,e,"","",!1,""):n.initKeyEvent("keydown",!0,!0,document.defaultView,!1,!1,!1,!1,e,0),n.keyCodeVal=e,document.body.dispatchEvent(n)}function keyUp(e){Podium={}; var n=document.createEvent("KeyboardEvent"); Object.defineProperty(n,"keyCode",{get:function(){return this.keyCodeVal}}),n.initKeyboardEvent?n.initKeyboardEvent("keyup",!0,!0,document.defaultView,e,e,"","",!1,""):n.initKeyEvent("keyup",!0,!0,document.defaultView,!1,!1,!1,!1,e,0),n.keyCodeVal=e,document.body.dispatchEvent(n)}setInterval(function(){Runner.instance_.horizon.obstacles.length>0&&(Runner.instance_.horizon.obstacles[0].xPos75&&(keyUp(40),keyDown(38)),Runner.instance_.horizon.obstacles[0].xPos<30*Runner.instance_.currentSpeed-Runner.instance_.horizon.obstacles[0].width/2&&Runner.instance_.horizon.obstacles[0].yPos<=75&&keyDown(40))},5);
Update 03 July 2024
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile