Google Chrome Dino-Game Hack (https://chromedino.com/)

A basic GUI for Chrome Dino Speed Hack, Jump Hack, Points Hack, Invincibility Hack, & More.

  1. // ==UserScript==
  2. // @name Google Chrome Dino-Game Hack (https://chromedino.com/)
  3. // @namespace http://tampermonkey.net/
  4. // @version 3.2.5
  5. // @description A basic GUI for Chrome Dino Speed Hack, Jump Hack, Points Hack, Invincibility Hack, & More.
  6. // @author Cracko298
  7. // @icon https://www.omgchrome.com/wp-content/uploads/2015/06/chrome-trex-dinosaur.jpg
  8. // @include chrome://dino
  9. // @match chrome://dino
  10. // @match https://chromedino.com
  11. // @match https://chromedino.com/*
  12. // @license MIT
  13. // @grant none
  14. // ==/UserScript==
  15.  
  16. function script() {
  17. var elem = document.getElementById('script');
  18. elem.parentNode.removeChild(elem);
  19. return false;
  20. }
  21.  
  22.  
  23. setTimeout(function() {
  24. // Placeholder
  25. }, 2000);
  26.  
  27. if (window.confirm("Want to Inject The Hack?"))
  28. {
  29.  
  30. var button = document.createElement("button");
  31. button.innerHTML = "Set Max Score";
  32.  
  33. var body = document.getElementsByTagName("header")[0];
  34. body.appendChild(button);
  35.  
  36. button.addEventListener ("click", function() {
  37. alert("Max Score Set.");
  38. Runner.instance_.distanceRan = 899999 / Runner.instance_.distanceMeter.config.COEFFICIENT;
  39.  
  40. });
  41. var button = document.createElement("button");
  42. button.innerHTML = "Invincibility";
  43.  
  44. var body = document.getElementsByTagName("header")[0];
  45. body.appendChild(button);
  46.  
  47. button.addEventListener ("click", function() {
  48. alert("Invincibility Set.");
  49. var original = Runner.prototype.gameOver
  50. Runner.prototype.gameOver = function(){}
  51.  
  52. });
  53. var button = document.createElement("button");
  54. button.innerHTML = "High Speed";
  55.  
  56. var body = document.getElementsByTagName("header")[0];
  57. body.appendChild(button);
  58.  
  59. button.addEventListener ("click", function() {
  60. alert("High Speed Set.");
  61. Runner.instance_.setSpeed(100)
  62.  
  63. });
  64. var button = document.createElement("button");
  65. button.innerHTML = "High Jump";
  66.  
  67. var body = document.getElementsByTagName("header")[0];
  68. body.appendChild(button);
  69.  
  70. button.addEventListener ("click", function() {
  71. alert("High Jump Set.");
  72. Runner.instance_.tRex.setJumpVelocity(50)
  73.  
  74. });
  75. var button = document.createElement("button");
  76. button.innerHTML = "Reset All Hacks";
  77.  
  78. var body = document.getElementsByTagName("header")[0];
  79. body.appendChild(button);
  80.  
  81. button.addEventListener ("click", function() {
  82. alert("Reset All Hacks");
  83. Runner.prototype.gameOver = original
  84. Runner.instance_.tRex.setJumpVelocity(10)
  85. Runner.instance_.setSpeed(7)
  86. Runner.instance_.distanceRan = 0 / Runner.instance_.distanceMeter.config.COEFFICIENT;
  87. Runner.prototype.gameOver = original
  88. });
  89.  
  90. var button = document.createElement("button");
  91. button.innerHTML = "Reset Invincibility";
  92.  
  93. var body = document.getElementsByTagName("header")[0];
  94. body.appendChild(button);
  95.  
  96. button.addEventListener ("click", function() {
  97. Runner.prototype.gameOver = original
  98. });
  99.  
  100. }
  101. else{
  102. alert('The Hack Inject Was Cancelled');
  103. Runner.prototype.gameOver = original
  104.  
  105. }