Thứ Tư, Tháng Ba 12, 2025
spot_img
HomeTechnology'Hack' Google Chrome's dinosaur game to make your T-Rex immortal and at...

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

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.

T-rex mini game

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://dino Go to the address bar and press Enter to open the No Internet page. Then, start playing the game by pressing the key Space Bar.

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

Open the Inspect window on the T-rex game screen

Step 3: Select tab Console.

Select the Console tab

Immortal T-rex dinosaur

To help your dinosaur become immortal, 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 (){}

Code for Immortal T-rex

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.

Xem thêm  How to turn off file groups in Downloads Windows 11

Code:

Runner.instance_.setSpeed(1000)

Super fast T-rex dinosaur

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:

Friend big barshared the new auto cheat, you can refer to it below: (Because the coda is too long, the post in the comment cannot show all of it, so I brought it to the post to have the function to copy the code).

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
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments