Google Chrome shows a "No Internet" error message when you do not have any internet connection whle you are trying to search online.

Luckily, you can turn this screen into a fun runner game and, even better, you can hack the hidden Easter egg that lets the dinosaur becomes invisible.

How to Play the Hidden Google Chrome Dinosaur Game

If you suddenly lose internet connection while browsing online, you might want to pass the time by playing a game on Google Chrome. You can enter any URL in the Google Chrome address bar and, once you have done that, you should see the screen with the error message and dinosaur.

If you do have internet service, you can access the page without cutting the internet connection. Just type chrome://dino in the address bar, and you should see the screen, according to HowtoGeek.

Once you have made your way to this screen, you can begin the game just by pressing the space bar. Once you do, the dinosaur will start running.

Read Also: Google Chrome 66 Autoplay Policy Removed After It Broke Web Games And Apps

The objective of the game is to avoid anything that comes your way, like birds and cacti. Once the hits any of these, the game is over and you lose.

This is a great way to entertain yourself while waiting for an internet connection. As you continue, the difficulty of the game increases.

Hack the Google Chrome Dinosaur Game

The hack lets your dinosaur become invincible, and it lets players continue the game without fear of being pecked or poked.

To hack the game, you will need to be on the "No Internet" screen, so go ahead and enter chrome://dino in the address bar. As soon as you are there, right-click anywhere on the screen and choose "Inspect" from the menu that appears, according to Toms Guide

This opens Chrome DevTools, which pops up on the right of the browser window. In DevTools, choose the "Console" tab. Alternatively, you can press Ctrl+Shift+l and jump straight to the "Console" tab in Chrome DevTools.

Once in the "Console" tab, paste the following command and press the "Enter" key: var original = Runner.prototype.gameOver.

Next, enter this command: Runner.prototype.gameOver = function (){}
On the next line, f (){} will appear after you press the "Enter" key.

When the game is over, Runner.prototype.gameOver() opens and the action is triggered. In this case, you will hear a sound, the game stops, and a Game Over message appears. That is without the code.

What the code does is it replaces the gameOver function with an empty function. That means that instead of hearing the sound, the message appearing, and the game stopping, nothing happens at all. You will just keep running.

To test it out. Close DevTools and press the space bar to start playing the game. The dinosaur will be unaffected by the flying creatures or cacti, according to GadgetNow

Now, if you have been playing for minutes and you wish to stop the game and record your score, you need to end the game.

The first code that you entered is stored in the normal gameOver function in the original variable. You can execute this command to use the normal gameOver function: Runner.prototype.gameOver = original.

Google Chrome has also updated its webpage to make it easier for you to read while waiting for an internet connection.

Related Article: Gaming Google Chromebooks Likely to Sport RGB Keyboards | Steam Support on ChromeOS Coming?

This article is owned by Tech Times

Written by Sophie Webster

ⓒ 2024 TECHTIMES.com All rights reserved. Do not reproduce without permission.
Join the Discussion