您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
A browser script made to give enhancements on Miniblox
// ==UserScript== // @name Vape V4 // @namespace http://7granddadpgn.github.io // @version 3.0.6 // @description A browser script made to give enhancements on Miniblox // @author 7GrandDad // @match https://miniblox.io/* // @match https://miniblox.org/* // @match https://miniblox.online/* // @match https://bloxbattles.io/* // @icon https://miniblox.io/favicon.png // @grant GM_getValue // @grant GM_setValue // @grant unsafeWindow // @require https://codeberg.org/RealPacket/VapeForMiniblox/raw/tag/3.0.6/injection.js#sha256=a50e0b233ad7b1a61f4cbbf352ac3ab07fd356e01fe8615c90755eb9ae51227e // @run-at document-start // ==/UserScript== // would reuse this, but Codeberg doesn't have CORS headers so we can't use it. // this would fix the caching issues, but sadly CORS moment. /* (function() { 'use strict'; async function execute(url, oldScript) { if (oldScript) oldScript.type = 'javascript/blocked'; let data = await fetch("https://raw.githubusercontent.com/7GrandDadPGN/VapeForMiniblox/main/injection.js").then(e => e.text()); if (oldScript) oldScript.type = 'module'; eval(data.replace("scripturl", url)); } // https://stackoverflow.com/questions/22141205/intercept-and-alter-a-sites-javascript-using-greasemonkey if(navigator.userAgent.indexOf("Firefox") != -1) { window.addEventListener("beforescriptexecute", function(e) { if(e.target.src.includes("https://miniblox.io/assets/index")) { e.preventDefault(); e.stopPropagation(); execute(e.target.src); } }, false); } else { new MutationObserver(async (mutations, observer) => { let oldScript = mutations .flatMap(e => [...e.addedNodes]) .filter(e => e.tagName == 'SCRIPT') .find(e => e.src.includes("https://miniblox.io/assets/index")); if (oldScript) { observer.disconnect(); execute(oldScript.src, oldScript); } }).observe(document, { childList: true, subtree: true, }); } })(); */
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址