When you're trying to access a webpage in Chrome and your internet gets disconnected you're presented with Chrome's T Rex game.
On this screen, if you press the tab the dinosaur starts running. The way this game works is you need to avoid the obstacles from colliding with the T Rex. This looks quite simple in the beginning but once the dino starts picking up the speed it gets more and more difficult to avoid these obstacles.
However, there is a quick trick that can help you to activate the god mode in this game. All you need to do is on a non internet screen before starting the game open your Chrome devtools by Or press Command+Option+C (Mac) or Control+Shift+C (Windows, Linux, Chrome OS).
And in the console tab of devtools type the following code.
- Runner.prototype.gameOver = () => console.log(`I don't think so!`);
This will override the gameOver method and chrome will not be able to stop the game even when the collision occurs between the T Rex and the obstacles.
Now press the space bar to start the game. Once you override the gameOver method the dinosaur will keep on running even after colliding with the cactus or the flying birds and the game will never end!
Quick Tip
You don't need to disconnect your internet connection, you can access the game by simply typing the following URL in your chrome browser and hitting enter.