Most of us have seen the dreaded “No Internet” error message on Google Chrome. You can actually turn this screen into a fun, dino-themed endless runner game and, even better, hack the hidden Easter egg to where your dinosaur becomes invincible.
If you don’t have an internet connection, then you don’t have to do anything special to play.
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.”

Once you’ve made your way to this screen, you can start the game by pressing the space bar. Once you do, the dinosaur will begin running. The object of the game is to avoid whatever comes your way, such as birds and cacti. Once the dinosaur gets hit by a bird or runs into a cactus, it’s game over.
This is a pretty neat way to kill time, and it’s always fun to try to beat your own high score. As you continue, the difficulty of the game increases. It’s interesting to think about what the highest score ever achieved is, without cheating of course.
Let’ play:
This hack allows your dinosaur to become invincible, letting players continue the game without fear of being poked or pecked.
To hack the game, you’ll 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.
This opens Chrome DevTools, which appears to the right of the browser window. In DevTools, select the “Console” tab.
Once in the “Console” tab, paste the following command and then press the “Enter” key:
var original = Runner.prototype.gameOver Runner.prototype.gameOver = function (){} |
---|
Here’s what happens 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’ll hear a sound, the game stops, and a Game Over message appears. That’s without our code.
What our code does is replaces the gameOver function with an empty function. That means that instead of hearing the sound, the game stopping, and the message appearing, nothing happens. You just keep running.
Test it out. Close DevTools, and press the space bar to start playing the game.
● Rollback:
Runner.prototype.gameOver = original |
---|
● Jump height:
Runner.instance_.tRex.setJumpVelocity(15) |
---|
● Dinosaur’s running speed:
Runner.instance_.setSpeed(1000) |
---|
● Gravity cheat:
Runner.instance_.tRex.config.GRAVITY = 0.01 |
---|
● Chaos Mode:
Runner.instance_.updateConfigSetting('ACCELERATION','0');Runner.instance_.updateConfigSetting('BG_CLOUD_SPEED','1');Runner.instance_.updateConfigSetting('CLOUD_FREQUENCY','100');Runner.instance_.updateConfigSetting('GRAVITY','1000');Runner.instance_.updateConfigSetting('INITIAL_JUMP_VELOCITY','0.1');Runner.instance_.updateConfigSetting('INVERT_DISTANCE','-1');Runner.instance_.updateConfigSetting('INVERT_FADE_DURATION',window.Infinity);Runner.instance_.updateConfigSetting('MAX_BLINK_COUNT','0');Runner.instance_.updateConfigSetting('MAX_CLOUDS','0');Runner.instance_.updateConfigSetting('MAX_OBSTACLE_DUPLICATION','5');Runner.instance_.updateConfigSetting('MAX_OBSTACLE_LENGTH','5');Runner.instance_.updateConfigSetting('MAX_SPEED','500');Runner.instance_.updateConfigSetting('MIN_JUMP_HEIGHT','0');Runner.instance_.updateConfigSetting('SPEED','500');Runner.instance_.updateConfigSetting('SPEED_DROP_COEFFICIENT','0.3');Runner.prototype.gameOver=function(){this.playingIntro=Math.floor(Math.random());this.playSound(this.soundFx.BUTTON_PRESS);this.playSound(this.soundFx.HIT);this.playSound(this.soundFx.SCORE);};Runner.instance_.distanceMeter.config.FLASH_DURATION=1;Runner.instance_.distanceMeter.config.FLASH_ITERATIONS=50;Runner.instance_.distanceMeter.config.ACHIEVEMENT_DISTANCE=1;setInterval(function(){Runner.instance_.gameOver();Runner.instance_.onKeyDown({keyCode:32,which:32,charCode:32,preventDefault:function(){}});Runner.instance_.distanceMeter.digits=(Math.random()*999999).toString().split('');},50); |
---|
● Sonic Mode:
Tired of Dino and want to give the main character of T-Rex Runner another look? You can change Dino for another iconic character who is also used to running while avoiding obstacles: Sonic.
Sega’s blue hedgehog can become the star of Google’s game thanks to a code that you can easily use. The steps to change from Dino to Sonic are as follows:
1- Open Google Chrome without an Internet connection and click on the right button.
2- In the window that appears, click on “To inspect”.
3- In the upper part of the window that is displayed on the right of the screen, access “Elements”.
4- Find the section “Offline resources” and click on it to unfold it in full.
5- Replaces the link of “Offline resources-1x” by this link from sonic graphics.
6- Click on the game and you will see how Sonic is already the main character of the Google game.
Comments