How to hack Chrome Dino Game using Javascript

Spandan Sehgal - Nov 23 '21 - - Dev Community

Intro

We all know the popular internet game of chrome which appears when there is no internet, there is however another way to access it that is by typing chrome://dino into the address bar.
So I have discovered a trick by which you can play that game without dying .

Let's Start

First of all go to chrome://dino
Image description

Then right click anywhere from there select inspectImage description

From there go to console tab from the top Image description

and now type the following code and hit enter :

Runner.prototype.gameOver = function(){}
Enter fullscreen mode Exit fullscreen mode

After that when you will start playing the game you don't need to press any key and you will never die .

I hope you all enjoyed this post ! Be safe and do take good care of yourselves .

If you see this then comment "Yaay!"
Feel free to ask or give suggestions in the comments section.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .