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

Speed Hack, Jump Hack, Points Hack, Invincibility Hack, & More.

当前为 2022-03-04 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Google Chrome Dino-Game Hack (https://chromedino.com/)
  3. // @namespace http://tampermonkey.net/
  4. // @version 3.1.7
  5. // @description 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. // @license MIT
  12. // @grant none
  13. // ==/UserScript==
  14.  
  15. if (window.confirm("Want to Inject The Hack?"))
  16. {
  17.  
  18. var button = document.createElement("button");
  19. button.innerHTML = "Set Max Score";
  20.  
  21. var body = document.getElementsByTagName("header")[0];
  22. body.appendChild(button);
  23.  
  24. button.addEventListener ("click", function() {
  25. alert("Max Score Set.");
  26. Runner.instance_.distanceRan = 99999 / Runner.instance_.distanceMeter.config.COEFFICIENT;
  27.  
  28. });
  29. var button = document.createElement("button");
  30. button.innerHTML = "Invincibility";
  31.  
  32. var body = document.getElementsByTagName("header")[0];
  33. body.appendChild(button);
  34.  
  35. button.addEventListener ("click", function() {
  36. alert("Invincibility Set.");
  37. var original = Runner.prototype.gameOver
  38. Runner.prototype.gameOver = function(){}
  39.  
  40. });
  41. var button = document.createElement("button");
  42. button.innerHTML = "High Speed";
  43.  
  44. var body = document.getElementsByTagName("header")[0];
  45. body.appendChild(button);
  46.  
  47. button.addEventListener ("click", function() {
  48. alert("High Speed Set.");
  49. Runner.instance_.setSpeed(100)
  50.  
  51. });
  52. var button = document.createElement("button");
  53. button.innerHTML = "High Jump";
  54.  
  55. var body = document.getElementsByTagName("header")[0];
  56. body.appendChild(button);
  57.  
  58. button.addEventListener ("click", function() {
  59. alert("High Jump Set.");
  60. Runner.instance_.tRex.setJumpVelocity(50)
  61.  
  62. });
  63. var button = document.createElement("button");
  64. button.innerHTML = "Reset All Hacks";
  65.  
  66. var body = document.getElementsByTagName("header")[0];
  67. body.appendChild(button);
  68.  
  69. button.addEventListener ("click", function() {
  70. alert("Reset All Hacks");
  71. Runner.prototype.gameOver = original
  72. Runner.instance_.tRex.setJumpVelocity(10)
  73. Runner.instance_.setSpeed(7)
  74. Runner.instance_.distanceRan = 0 / Runner.instance_.distanceMeter.config.COEFFICIENT;
  75. Runner.prototype.gameOver = original
  76. });
  77.  
  78. var button = document.createElement("button");
  79. button.innerHTML = "Reset Invincibility";
  80.  
  81. var body = document.getElementsByTagName("header")[0];
  82. body.appendChild(button);
  83.  
  84. button.addEventListener ("click", function() {
  85. Runner.prototype.gameOver = original
  86. });
  87.  
  88. }
  89. else{
  90. alert('The Hack Inject Was Cancelled');
  91. Runner.prototype.gameOver = original
  92.  
  93. }