InfiniteHaxx

Infinite Craft hacks, lets you add custom elements.

  1. // ==UserScript==
  2. // @name InfiniteHaxx
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.01
  5. // @description Infinite Craft hacks, lets you add custom elements.
  6. // @author You
  7. // @match https://neal.fun/infinite-craft/
  8. // @icon https://www.google.com/s2/favicons?sz=64&domain=neal.fun
  9. // @grant none
  10.  
  11. // ==/UserScript==
  12.  
  13. function loadHax(){(function() {
  14. 'use strict';
  15.  
  16. function haxx(){
  17. // Prompt the user for the element and emoji
  18. let element = prompt("Element");
  19. let emoji = prompt("Emoji");
  20.  
  21. // Create the new object
  22. let newElement = {
  23. text: element,
  24. emoji: emoji,
  25. discovered: false
  26. };
  27. window.$nuxt.$root.$children[2].$children[0].$children[0]._data.elements.push(newElement)}
  28. addElt = document.createElement('button'); addElt.innerText = "Add New Element"; addElt.onclick = function(){haxx()}
  29. document.querySelector('.sidebar').prepend(addElt);
  30. })();}
  31. setTimeout(loadHax,1000)

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址