🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

Greasy Fork is available in English.

📂 缓存分发状态(共享加速已生效)
🕒 页面同步时间:2026/01/07 18:48:53
🔄 下次更新时间:2026/01/07 19:48:53
手动刷新缓存

Sploop.io Hack | Background Filter Changer, (Menu On "B" Key)

A Friendly Script That Customize your Game Background

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

// ==UserScript==
// @name        Sploop.io Hack | Background Filter Changer, (Menu On "B" Key)
// @version     0.1
// @description A Friendly Script That Customize your Game Background
// @author      DETIX aka D.Roy || discord => detixthegoat
// @match       *://*.sploop.io/*
// @license     CC-BY 4.0
// @namespace https://greasyfork.org/users/684614
// ==/UserScript==

const __fli4p = `
  #__ro8h3-__utkp {
    position: fixed;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px;
    color: white;
    z-index: 9999;
    display: none;
    border-radius: 5px;
    font-family: "Arial", sans-serif;
  }
  #__ro8h3-__utkp label {
    margin-right: 10px;
  }
  #__ro8h3-__utkp input[type="range"] {
    width: 150px;
    margin-right: 10px;
  }
  #__ro8h3-__utkp button {
    padding: 5px 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
  }
`;
const __bliq3 = `
  <div id="__ro8h3-__utkp">
    <label for="__ekl4j__ero4"><sub><strong>By DETIX</strong></sub></label>
    <input type="range" id="__ekl4j__ero4" min="0" max="100" step="10" value="0">
    <span id="__rki3v__elo4">0</span>%
    <button id="__epo9c__ekro5">Reset Filter</button>
    <button id="__akos58">Close Menu</button>
  </div>
`;
document.head.insertAdjacentHTML("beforeend", `<style>${__fli4p}</style>`);
document.body.insertAdjacentHTML("beforeend", __bliq3);
const __akos58 = document.getElementById("__akos58");
__akos58.addEventListener("click", () => {
    const __duk1h = document.getElementById("__ro8h3-__utkp");
    __duk1h.style.display = "none";
});
const __num2h = (value, __mol6f) => {
    if (__mol6f) {
        if (value === "50") {
            __mol6f.style.filter = "";
        } else {
            __mol6f.style.filter = `invert(${value}%) hue-rotate(180deg)`;
            __mol6f.style.backgroundColor = "";
        }
    }
};
document.addEventListener("keydown", (event) => {
    if (event.key === "b" || event.key === "B") {
        const __duk1h = document.getElementById("__ro8h3-__utkp");
        __duk1h.style.display = __duk1h.style.display === "none" ? "block" : "none";
        if (__duk1h.style.display === "block") {
            const __ekl4j__ero4 = document.getElementById("__ekl4j__ero4");
            const __rki3v__elo4 = document.getElementById("__rki3v__elo4");
            __ekl4j__ero4.addEventListener("input", () => {
                const value = __ekl4j__ero4.value;
                __rki3v__elo4.textContent = value;
                __num2h(value, document.getElementById("game-canvas"));
            });
            const __epo9c__ekro5 = document.getElementById("__epo9c__ekro5");
            __epo9c__ekro5.addEventListener("click", () => {
                const __mol6f = document.getElementById("game-canvas");
                __mol6f.style.filter = "";
                __ekl4j__ero4.value = "50";
                __rki3v__elo4.textContent = "50";
            });
        }
    }
});
//whats up??
__num2h(0, document.getElementById("game-canvas"));