Skip to content

Instantly share code, notes, and snippets.

@JARVIS-AI
Last active December 6, 2025 10:45
Show Gist options
  • Select an option

  • Save JARVIS-AI/cfb916c7dc3bea73abf0edac42749ea8 to your computer and use it in GitHub Desktop.

Select an option

Save JARVIS-AI/cfb916c7dc3bea73abf0edac42749ea8 to your computer and use it in GitHub Desktop.
Chrome Dino game cheats

Hack Google Chrome and Make your Dinosaur Immortal

The game can be hacked pretty easily, making your dinosaur not even flinch at the sight of a cactus.

To hack the game, first go the the error message page where your dinosaur is hanging out.

Go ahead and press the space bar to start the game. Once the game starts, right-click and select Inspect” to open up Chrome DevTools, then select the Console tab.

You can also do this by using the Ctrl+Shift+I shortcut, which takes you straight to the Console tab of DevTools.

Open Chrome Console

  • Make sure you are on the No Internet Connection page.
  • Right click anywhere on the page and select Inspect.
  • Go to Console tab. This is where we will enter the commands to tweak the game.

Tweaking Speed

Type the following command in Console and press enter. You can use any other speed in place of 1000.

Runner.instance_.setSpeed(1000)

Immortality

After every command press enter. All the commands are case-sensitive.

We store the original game over function in a variable:

var original = Runner.prototype.gameOver

Then, we make the game over function empty:

Runner.prototype.gameOver = function(){}

Stopping the game after using Immortality

When you want to stop the game, Revert back to the original game over function:

Runner.prototype.gameOver = original

Setting the current score

Let’s set the score to 12345. You can set any other score less than 99999. The current score is reset on game over.

Runner.instance_.distanceRan = 12345 / Runner.instance_.distanceMeter.config.COEFFICIENT

Dino jumping too high?

You can control how high the dino jumps by using the below function. Adjust the value as necessary.

Runner.instance_.tRex.setJumpVelocity(10)
@MateoMateoMateoMateo
Copy link

replace instance_ with getInstance()

@ASHIK-NISHON
Copy link

they changed the names

@web-coder-of-rpi
Copy link

web-coder-of-rpi commented Nov 19, 2025

when i try to execute anything i get a fault image

Use runnerInstance.setSpeed()

@Mrvishalojha
Copy link

Hello,
My name is Vishal Ojha, and I am the owner of the premium domain DinoGame.us — a highly relevant and memorable name closely related to the iconic Google Dinosaur Game that became popular worldwide.

This domain is perfect for creating your own 2D or 3D dinosaur game, launching a gaming platform, or even using it as a side project to enhance your portfolio. Because of its strong keyword relevance, DinoGame.us has excellent potential for ranking on Google and other search engines.

I am offering this domain for just $50 for a limited time. If you want to secure it, simply type DinoGame.us in your browser's URL bar, and you will be redirected to the GoDaddy checkout page.

If you are interested or have any questions, feel free to contact me at:
📩 VishalOjha361@gmail.com

Thank you,
Vishal Ojha

@web-coder-of-rpi
Copy link

I cranked the speed up so high that I was surpassing 999,999 so many times that the distance meter started going down.

@web-coder-of-rpi
Copy link

I cranked the speed up so high that I was surpassing 999,999 so many times that the distance meter started going down.

That's what it looked like; I was not losing distance, really.

@cipek1981
Copy link

no hacks on this dino version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment