To hack the Chrome Dinosaur video game, open Chrome’s DevTools and choose the Console tab. The Console tab lets you run JavaScript to customize a page. Run “var original = Runner.prototype.gameOver” to alter or get rid of the video game’s video game over condition, making it difficult to lose.
Most of us have actually seen the feared “No Internet” mistake message on Google Chrome. You can in fact turn this screen into an enjoyable, dino-themed unlimited runner video game and, even much better, hack the surprise Easter egg to where your dinosaur ends up being invincible. Here’s how.
How to Play the Hidden Google Chrome Dinosaur Game
If you do not have a web connection, then you do not need to do anything unique to play. Simply get in any URL in the Google Chrome address bar, and you’ll see this screen.
If you do have a web connection, you can access this page without cutting the connection. Type chrome:// dino
in the address bar, and it will take you there.
Once you’ve made your method to this screen, you can begin the video game by pushing the area bar. As soon as you do, the dinosaur will start running. The item of the video game is to prevent whatever comes your method, such as birds and cacti. As soon as the dinosaur gets struck by a bird or encounters a cactus, it’s video game over.
This is a quite cool method to pass the time, and it’s constantly enjoyable to attempt to beat your own high rating. As you continue, the trouble of the video game boosts. It’s intriguing to consider what the greatest rating ever attained is, without unfaithful obviously, which brings us to the next point.
RELATED: How to Play Microsoft Edge’s Secret Surfing Game
Hack the Google Chrome Dinosaur Game
This hack permits your dinosaur to end up being invincible, letting gamers continue the video game without worry of being poked or pecked.
To hack the video game, you’ll require to be on the “No Internet” screen, so proceed and go into chrome:// dino
in the address bar. When there, right-click anywhere on the screen and choose “Inspect” from the menu that appears.
This opens Chrome DevTools, which appears to the right of the internet browser window. In DevTools, choose the “Console” tab.
Alternatively, you can push Ctrl+ Shift+ I and leap directly to the “Console” tab in Chrome DevTools.
RELATED: What Your Function Keys Do in Chrome DevTools
Once in the “Console” tab, paste the following command and after that push the “Enter” secret:
var original = Runner.prototype.gameOver
This might appear like it not does anything, however we’ll discuss why this is essential in a 2nd.
Next, enter this command:
Runner.prototype.gameOver = function ()
On the next line, f ()
will appear after pushing the “Enter” secret.
Here’s what takes place now. When the video game is over (i.e., when you struck an item), Runner.prototype.gameOver() is called and the action is set off. In this case, you’ll hear a noise, the video game stops, and a Game Over message appears. That’s without our code.
What our code does is changes the gameOver function with an empty function. That implies that rather of hearing the noise, the video game stopping, and the message appearing, absolutely nothing occurs. You simply keep running.
Test it out. Close DevTools, and push the area bar to begin playing the video game.
As you can see, the dinosaur is untouched by the cacti or flying animals. Objective achieved.
Now, let’s state you’ve been betting 25 minutes and you wish to stop the video game and tape your high rating. You’ll n