How to hack chrome’s T-rex game with Java script.

No internet page
  1. Right click the page and click on inspect option
inspect option
inspect element tool
console image
var original = Runner.prototype.gamveOver
Runner.prototype.gameOver = function (){}
Runner.instance_.setSpeed(100)
Runner.prototype.gameOver = original

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store