您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Autosave script for Infinite Craft on neal.fun.
当前为
// ==UserScript== // @name Infinite Craft Autosave // @namespace http://ow0.me/infinite // @version 2024-02-02 // @description Autosave script for Infinite Craft on neal.fun. // @author Ina' // @match https://neal.fun/* // @icon https://ow0.me/infinite/icon48.png // @icon64 https://ow0.me/infinite/icon64.png // @grant GM_getValue // @grant GM_setValue // @grant unsafeWindow // @require https://neal.fun/_nuxt/992eef7.js // @require https://neal.fun/_nuxt/dcc1889.js // @run-at document-idle // @license GPLv3 // ==/UserScript== // note - the icon may be moved to n-o.one var yuri = () => { 'use strict'; console.log('establishing yuri empire'); var that = unsafeWindow.$nuxt.$children[2].$children[0].$children[0]; // load var savedElements = GM_getValue("elements", null); if (savedElements !== null) { that.elements = savedElements; } var savedDiscoveries = GM_getValue("discoveries", null); if (savedDiscoveries !== null) { that.discoveries = savedDiscoveries; } // save var crafter = that.craft; that.craft = (e, n) => { crafter(e,n); GM_setValue('elements', that.elements); GM_setValue('discoveries', that.discoveries); }; console.log('yuri empire established'); } window.addEventListener("load", yuri);
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址