Hack Google Chromes 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 the Internet is lost. This game has a very simple gameplay, users just need to press the Space Bar, up and down arrows to control a dinosaur to move and avoid obstacles on the desert road.

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

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

Every game can be “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 race track in a super simple way.

How to hack 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 chrome://dinoin the 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.

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

Step 3 : Select the Console tab .

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

Immortal T-rex

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 them into the Console tab opened in step 3, then press Enter to activate.

Code 1:

var original = Runner.prototype.gameOver

Code 2:

Runner.prototype.gameOver = function (){}

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

Super Speed ​​T-rex

To make your dinosaur accelerate as you wish, copy the code below and paste it into the Console tab that is open in step 3, then press Enter to activate.

Code:

Runner.instance_.setSpeed(1000)

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

Note : The number in parentheses is the speed of the dinosaur, you can change it as you like.

After completing, you will see the game as the following video:

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

Readers share additional tips:

You thanh dat to , has shared the new auto cheat version, you can refer to it below: (Because the coda is too long, the post in the comment cannot show it all, so I put it in 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<30*runner.instance_.currentspeed-runner.instance_.horizon.obstacles[0].width><>

Leave a Comment

Steam Top Sellers for the Week of October 12, 2026: What Rose and Fell

Steam Top Sellers for the Week of October 12, 2026: What Rose and Fell

Steam’s latest U.S. weekly chart covers October 6–13, 2026. See the biggest risers, falling titles, and what the revenue-based rankings do—and do not—tell you.

Steam Top Sellers for the Week of October 5, 2026: Games Rising and Falling

Steam Top Sellers for the Week of October 5, 2026: Games Rising and Falling

Steam’s latest weekly chart covers September 29–October 6, 2026. See which games climbed, slipped, returned, and what the rankings actually measure.

How to Use a Vegetable Steamer Basket

How to Use a Vegetable Steamer Basket

Master how to use a vegetable steamer basket for perfectly cooked, nutrient-rich vegetables in minutes. Follow this clear step-by-step guide to start steaming today.

How Long to Steam Broccoli in Microwave Steamer

How Long to Steam Broccoli in Microwave Steamer

How Long to Steam Broccoli in Microwave Steamer? Get the precise timing and step-by-step instructions for tender-crisp results that lock in nutrients and flavor.

Free Games for PC Steam

Free Games for PC Steam

Find and download the best free games for PC Steam with this complete guide. Learn how to browse, install, and play top free-to-play titles quickly.

How to Use Conair Steamer

How to Use Conair Steamer

How to Use Conair Steamer correctly to remove wrinkles fast from clothes and fabrics. Follow these clear steps for safe, effective results every time.

Shark Steamer Not Steaming

Shark Steamer Not Steaming

Shark Steamer Not Steaming? Follow these targeted troubleshooting steps to identify and fix the issue so your Shark steam cleaner works properly again.

How to Steam Fresh Broccoli

How to Steam Fresh Broccoli

Learn how to steam fresh broccoli perfectly in just five minutes. This simple stovetop method keeps nutrients intact and delivers tender-crisp results every time.

How to Steam Vegetables Without a Steamer

How to Steam Vegetables Without a Steamer

How to Steam Vegetables Without a Steamer using everyday kitchen tools like a pot, colander or microwave. Get crisp, nutrient-rich results with these proven methods.

Cool Multiplayer Games on Steam

Cool Multiplayer Games on Steam

Find cool multiplayer games on Steam with this guide covering discovery, installation, and play. Jump into co-op and competitive titles with friends today.