HACKED! Google Chrome Offline T-Rex Game

About: We run YouTube channel and provide some video tutorials on electronics and programming and also videos on cool projects - how to make them, tech news and more. Subscribe to our channel. :)

It is really fun if you can freak your friends with an insane score made in the offline T-Rex game that we still play. Well, sometimes. So in this Instructables, I will quickly show you how can you technically crack or hack this game. So, let's begin.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Go Offline, of Course!

Definitely, you won't be able to do this if you remain online.So disconnect from your Internet Connection.[Gotta admit. Pretty lame to write this step :P].

Once you get the Dino image, right click on it. Then click on inspect and follow the next step.

Step 2: Write the Following Script!

So the javascript will appear and then go to the Console tab.

Now write the following.

Runner.prototype.gameOver = function(){console.log("x")} *Hit Enter*

Runner.instance_.setSpeed(750) *Hit Enter*

Take a look at the video. You will like it.

Step 3: Done. So Simple!

After writing the script, place and click the cursor on the Dino image, then click SPACE button and there you go.

You can also adjust the speed of the game by changing the argument in setSpeed(x).

So easy! I hope you found this tutorial interesting. If yes, then we will be very happy if you SUBSCRIBE to our channel. We are aiming to be a good YouTube channel on electronics and technology.

Channel link: Being Engineers

Also, don't forget to share. Peace! ;)



    • Indoor Lighting Contest

      Indoor Lighting Contest
    • Make It Fly Challenge

      Make It Fly Challenge
    • Growing Beyond Earth Maker Contest

      Growing Beyond Earth Maker Contest

    8 Discussions


    Reply 1 year ago

    In order to die you must type out this command in the order I put it (DON'T actually type *Hit Enter* it simply means to press the Enter button on your key board and also do not type the quotation marks into the console! You can obviously copy + paste it if needed :D

    Step 1: Type "var original = Runner.prototype.gameOver" *Hit Enter*

    Step 2: Type "Runner.prototype.gameOver = function(){}" *Hit Enter*

    Step 3: Whenever you are ready to die type "Runner.prototype.gameOver = original" *Hit Enter*

    Before you do this you can type out the command that was given to us in these steps I believe. That is if you want to have the Speed Change. The codes I have given you give you the invincibility and the reverse to change it all back to normal.


    Reply 1 year ago

    i dont know

    i tried Runner.prototype.gameOver = function true()


    Question 1 year ago on Introduction

    Hey team,
    I have a score of 200000 now and i was wondering how to stop it and make me die please answer soon!
    Thanks! Radboss04

    Ruby Simpson

    Tip 1 year ago

    For people who love playing it when internet goes down, i recently found a way even without disconnecting the internet! Just visit www.dinogame.net and you will be able play it online and the hacks also work there too!! (personally tested) :D