How to Hack the Chrome Dinosaur Game

Secret Tips and Tricks to Master the T-Rex Runner

Choose Theme

Original Theme
Original
Olympic Hurdling Theme
Olympic Hurdling
Olympic Gymnastics Theme
Olympic Gymnastics
Olympic Surfing Theme
Olympic Surfing
Olympic Swimming Theme
Olympic Swimming
Olympic Equestrian Theme
Olympic Equestrian

🦖 Chrome Dino Hacks: Unleash Your Game's Full Potential

Discover how to customize Google's secret dinosaur game with these simple browser hacks and cheats.

Chrome Dinosaur Game T-Rex Runner

Wondering why you'd want to learn how to hack the Chrome dinosaur game? Well, if you've been getting frustrated at your lack of progress, you might want to hack this simple but challenging game to change its parameters and make it a little easier and fun.

If you're not familiar with the Chrome Dinosaur game, simply put, it was Google's way of allowing Chrome users to have a little fun while suffering an internet outage. Now, though, it can be played whenever, and makes for a great little break if you're a little bored at work or home, or if you're lacking stuff to do on your lunch break.

The gameplay is pretty straightforward. Make sure the T-Rex doesn't hit obstacles by getting it to jump over or crouch under them. The longer your run is, the higher your points. It's a tried and trusted recipe.

So how can a game like this be hacked? Surely Google don't want users hacking their software? Well, it seems like the tech giant aren't fussed about you increasing your fun a little more by altering the page's code. You can alter the game in all kinds of ways, including making your dinosaur invincible, or change how they run and jump.

Without further ado, here's how to hack the Chrome dinosaur game. First, though, if you don't already know, we'd better show you how to play the Chrome dinosaur game.

🎮 How to Play the Chrome Dinosaur Game

Although you could wait until you go offline to play Chrome's secret dinosaur game, you can play it in your browser right now without needing to lose your internet connection. Here's how to play the Chrome dinosaur game.

1

Type chrome:dino into Chrome's address bar and press Enter. This will display a graphic of a dinosaur with the instruction "Press space to play."

Chrome dinosaur game start screen
2

Gameplay couldn't be simpler. As the dinosaur runs across the desert landscape, keep pressing the Spacebar or the up arrow key on your keyboard to jump over the cacti. When you hit one, it's game over.

The game gets steadily faster and places larger and more frequent cacti in your way.

Chrome dinosaur jumping over cacti
3

Once you reach 500 points, there's another obstacle to avoid in the form of pterodactyls flying towards you.

Avoid contact with these by jumping over them or by pressing the down arrow key to duck.

Chrome dinosaur game with pterodactyls
4

The dinosaur game switches to dark mode (white graphics on a black background) when you pass 700 points, then back to standard mode at 900 points.

This happens again at 1,400 points and every further multiple of 700.

Chrome dinosaur game in dark mode
5

To pause the game, press the Alt key on your keyboard. You can also press F11 to pause gameplay and switch to full-screen. Click your screen to resume the game.

🔧 How to Change Jump Height and Speed

Want to make the Chrome dinosaur jump higher or lower? Or make the T-Rex start running at a faster speed rather than gradually pick up the pace? Then try these two hacks below.

1

With the Chrome dinosaur game loaded in your browser, right-click the web page and choose Inspect to open the "Developer tools" panel.

Alternatively, press Ctrl+Shift+I on your keyboard, or click the Chrome menu button and choose "More tools," then "Developer tools."

Opening developer tools in Chrome
2

Click the Console tab at the top of the "Developer tools" panel. To adjust the jump height of the dinosaur, type or copy and paste the following code into the Console text box and press Enter.

Runner.instance_.tRex.setJumpVelocity(15)

You can change the "(15)" part to a higher or lower number to increase or decrease the T-Rex's jump height.

Changing jump height in Chrome dinosaur game
3

To adjust the dinosaur's running speed, type or copy and paste the following code into the Console text box and press Enter.

Runner.instance_.setSpeed(1000)

Again, you can change the "(1000)" to a different numerical value for a faster or slower pace.

Changing speed in Chrome dinosaur game
4

Close the "Developer tools" window and press the Spacebar to start a new game. You should notice the change in jump velocity and running speed.

You'll also see a new "Start slower" slider at the bottom of the screen that lets you control the starting speed.

Chrome dinosaur game with speed slider

🛡️ How to Make the Dinosaur Invincible

If you're tired of cacti and pterodactyls bringing your game to an early end, you can use a cheat to make you invincible to those obstacles and keep your dinosaur running forever. That may remove the challenge from the game, but it means you can play for longer. Here's how to apply the hack.

1

As explained in the previous section, open the "Developer tools" panel, either by right-clicking the page and choosing Inspect, or by using one of the other methods.

2

Again, click the Console tab at the top of the panel. Type or copy and paste the following code into the text box and press Enter:

var original = Runner.prototype.gameOver
3

Now, type or copy and paste this code into the Console text box and press Enter:

Runner.prototype.gameOver = function (){}

The "Game over" function in the game will now be disabled, effectively granting the Chrome dinosaur invincibility.

Making dinosaur invincible in Chrome game
4

Close the "Developer tools" panel and press Space to play a new game.

You'll find that the T-Rex can now run straight through cacti and pterodactyls without being killed. It can run forever, in fact, while your score reaches amazing new highs.

Invincible dinosaur in Chrome game
5

After a while, invincibility can get a bit tedious, so you may want to switch back to a proper game.

To do this, open the Console in the "Developer tools" panel again. Type or copy and paste the following code and press Enter:

Runner.prototype.gameOver = original
Restoring normal gameplay in Chrome dinosaur game
6

Start a new game and you'll find that the Chrome dinosaur can now be killed by obstacles again, just like its ancestors 65 million years ago!

Game over in Chrome dinosaur game

💬 Share This Guide

Found these Chrome dinosaur game hacks helpful? Share this guide with your friends!


Ready to Test These Hacks?

Try out these Chrome dinosaur game hacks and see how high your score can go!

Play Chrome Dino Now