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

You can use cheat codes to 'hack' this game, allowing your T-rex to win the endless race with ease.

The T-rex mini-game is an endless runner created by Google to help users entertain themselves and kill time when they lose internet access. The gameplay is very simple; users just need to press the Space Bar and the up/down arrow keys to control a dinosaur and avoid obstacles on its desert path.

To date, the T-rex has gradually become a companion for millions of users while they wait for the internet to be restored.

images 1 of 'Hack' Google Chrome's dinosaur game to make your T-Rex immortal and max speed.
Images 1 of 'Hack' Google Chrome's dinosaur game to make your T-Rex immortal and max speed.

Every game gets hacked, and the T-rex mini-game is no exception. You can use cheat codes to hack this game, allowing your T-rex to win the endless race with ease.

How to hack the T-rex game on Google Chrome

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

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

images 2 of 'Hack' Google Chrome's dinosaur game to make your T-Rex immortal and max speed.
Images 2 of 'Hack' Google Chrome's dinosaur game to make your T-Rex immortal and max speed.

Step 3 : Select the Console tab .

images 3 of 'Hack' Google Chrome's dinosaur game to make your T-Rex immortal and max speed.
Images 3 of 'Hack' Google Chrome's dinosaur game to make your T-Rex immortal and max speed.

The T-rex dinosaur is immortal.

To make your dinosaur immortal, never Game Over even when colliding with a cactus or a flying bird, copy the two code snippets below and paste them into the Console tab that opened in step 3, then press Enter to activate.

Code 1:

var original = Runner.prototype.gameOver

Code 2:

Runner.prototype.gameOver = function (){}

images 4 of 'Hack' Google Chrome's dinosaur game to make your T-Rex immortal and max speed.
Images 4 of 'Hack' Google Chrome's dinosaur game to make your T-Rex immortal and max speed.

The super-fast T-rex dinosaur

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

Code:

Runner.instance_.setSpeed(1000)

images 5 of 'Hack' Google Chrome's dinosaur game to make your T-Rex immortal and max speed.
Images 5 of 'Hack' Google Chrome's dinosaur game to make your T-Rex immortal and max speed.

Note : The number in parentheses represents the dinosaur's speed; you can change it as you wish.

After completion, when you play the game, you will see something like the following video:

To play this mini-game normally, simply close this "No Internet" page and open another one.

Readers share additional tips:

User thanh dat to has shared a new auto cheat code; you can refer to it below: (Because the code is too long to display completely in the comments, I've included it in the post so that the code can be copied directly).

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);
5 | 1 Vote
« PREV : 17 Useful Tools to...
TOP best AI tools... : NEXT »