Jenson Baker

At work, unrealistic problems with communication and the Internet in particular. Whether the antennas were removed from the buildings, or they are jamming the connection (I don't know), but the current situation led to one interesting discovery, namely, an interesting game with a dinosaur from Google.

The Google dino game is a simple time killer. The main task of the player is to jump over cacti with a dinosaur. In case of an unsuccessful jump, you can immediately start from the beginning.

If you have no problems with the Internet, but you want to play, then first turn off the Internet and update any page in Google Chrome. And enjoy playing with the dinosaur.

Most of us have seen the error message "No Internet" in Google Chrome. You can really turn this screen into a fun endless dinosaur themed game and, even better, crack it so that your dinosaur becomes invincible. Really.

If you don't have an internet connection, you don't need to do anything special to play. Just type any URL into the Google Chrome address bar and you will see this screen.

If there is an internet connection, you can access this page without interrupting the connection. Type chrome://dino in the address bar and you will be taken there.

Once on this screen, you can start the game by pressing the space bar. As soon as you do that, the dinosaur will run. The goal of the game is to avoid everything that comes in your way, such as birds and cacti. As soon as the dinosaur gets trapped by a bird or collides with a cactus, the game is over.

It's a pretty nifty way to kill time, and it's always fun trying to beat your own record. As the game continues, the difficulty of the game increases. It is interesting to think about what is the highest result ever achieved, of course, without cheating, which brings us to the next point.

** Hack the Google Dinosaur game **

This technique allows your dinosaur to become invincible, allowing players to continue the game without fear of being poked or pecked.

To hack the game, you need to be on the "No Internet" screen, so go ahead and type chrome://dino in the address bar. Once there, right-click anywhere on the screen and select "Check" in the menu that appears.

Chrome DevTools will open, which will appear to the right of the browser window. In DevTools, select the Console tab.

Chrome DevTools Console Tab

Alternatively, you can press Ctrl+ Shift + I and immediately go to the "Console" tab in Chrome DevTools.

On the Console tab, paste the following command and press Enter:

var original = Runner.prototype.gameOver

It may seem like it doesn't do anything, but we'll explain why it's necessary in a second.

Next, enter this command:

Runner.prototype.gameOver = function (){}

In the next line, f (){} will appear after pressing the "Enter" key.

That's what's 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 the Game Over message will appear. This is without our code.

Our code replaces the gameOver function with an empty function. This means that instead of a sound, stopping the game and a message appearing, nothing happens. Just keep running.

Check it out. Close DevTools and press the space bar to start the game.

As you can see, the dinosaur is not affected by cacti or flying creatures. Mission accomplished.

Now let's say you're playing for 25 minutes and want to stop the game and record your record. You will need a way to complete the game, which can no longer be done by colliding with a cactus.

Do you remember the first code you entered? This stored the normal gameOver function in the original variable. This means that we can now execute this command to use the regular gameOver function:

Runner.prototype.gameOver = original

No open listings

No followed people

No reviews