@leobarerra
Profile
Registered: 6 months ago
How to Hack Hidden Dinosaurs Game Google Chrome
Most of us have seen the dreaded "No Internet" error message on Google Chrome. You can actually turn this screen into a fun dinosaur themed endless running game and, even better, hack it so that your dinosaur becomes invincible. Here's how.
How To Play Google Chrome Hidden Dinosaur Game
If you don't have an internet connection, you don't have to do anything special to play. Just enter any URL in the address bar of Google Chrome, and you will see this screen (or go https://dinorunner.com/).
No Internet screen in Google Chrome
If you have an Internet connection, you can access this page without disconnecting the connection. Type chrome: // dino in the address bar, and it will take you there.
URL of the address bar to access the Dino game
Once you get to this screen, you can start the game by pressing the space bar. Once you are done, the dinosaur will start to run. The object of the game is to avoid anything that comes your way, such as birds and cacti. Once the dinosaur is hit by a bird or collides with a cactus, the game is over.
Gif dinosaur set
It's a pretty interesting way to kill time, and it's always fun trying to beat your own score. As you continue, the difficulty of the game increases. It's interesting to think of what the highest score ever is, without cheating of course, which brings us to the next point.
Hack Google Chrome Dinosaur Game
This hack allows your dinosaur to become invincible, allowing players to continue the game without fear of being stung or pecked.
To hack the game you need to be on the "No Internet" screen, so go ahead and enter chrome://dino in the address bar. Once there, right click anywhere on the screen and select "Inspect" from the menu that appears.
Inspect the option in the menu
This opens Chrome DevTools, which appears to the right of the browser window. In DevTools, select the "Console" tab.
Console tab of Chrome DevTools
You can also press Ctrl + Shift + I and go directly to the "Console" tab in Chrome DevTools.
Once in the "Console" tab, paste the following command and then press the "Enter" key:
var original = Runner.prototype.gameOver
First code entered for Chrome hack
It may seem like it does nothing, but we'll explain why it's necessary in a second.
Then enter this command:
Runner.prototype.gameOver = function () {}
Second command to hack Chrome game
On the next line, f () {} will appear after pressing the "Enter" key.
Here is what is happening now. When the game is over (i.e. when you hit an object), Runner.prototype.gameOver () is called and the action is triggered. In this case, you will hear a sound, the game will stop and a Game Over message will appear. It's without our code.
Our code replaces the gameOver function with an empty function. This means that instead of hearing the sound, the game stops and the message appears, nothing happens. Just keep running.
Test it out. Close DevTools and press the space bar to start playing the game.
Invincible dinosaur gif
As you can see, the dinosaur is unaffected by cacti or flying creatures. Mission accomplished.
Now let's say you've been playing for 25 minutes and want to stop the game and save your high score. You will need a way to complete the game, which can no longer be done by stumbling upon a cactus.
Do you remember the first code we entered? That stored the normal gameOver function in the original variable. This means that we can now run this command to use the normal gameOver function:
Runner.prototype.gameOver = original
End of game code
If you're interested you can (see 2) see what is supposed to happen when the normal gameOver function is called.
Useful Resources:
Here's how you can play Chrome's dinosaur game online
Google Dinosaur Game
Forums
Topics Started: 0
Replies Created: 0
Forum Role: Participant