Greasy Fork

Greasy Fork is available in English.

DEEP SPACE (updated)

DEEP SPACE Client for bloxd.io , the only client that still works after the update

当前为 2024-07-11 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         DEEP SPACE (updated)
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  DEEP SPACE Client for bloxd.io , the only client that still works after the update
// @author       GEORGECR
// @match        https://bloxd.io/
// @icon         https://i.postimg.cc/NMG91FWH/space-BG-loco.jpg
// @license      MIT
// @supportURL   https://github.com/damirarh/GreasyForkScripts
// @grant        none
// ==/UserScript==

setInterval(function() {
    'use strict';
    document.title = "DEEP SPACE";
    const maintext = document.querySelector('.Title.FullyFancyText');
    maintext.style.textShadow = "10px 5px 5px #000000";
    maintext.style.webkitTextStroke = "none";
    document.querySelector('.Title.FullyFancyText').textContent = "DEEP SPACE";
            const background = document.querySelector(".HomeBackground");
        if (background) {
            background.style.backgroundImage = 'url(https://i.postimg.cc/v8rFjRWq/MAINBACKGROUND.jpg)';
        }
        const modifyElements = () => {
        ['LogoContainer','cube'].forEach(className => {
            document.querySelectorAll('.' + className).forEach(el => el.remove());
        });
 };

    document.addEventListener('DOMContentLoaded', modifyElements);
    setInterval(modifyElements, 1000);

    let names = document.getElementsByClassName("AvailableGameTextInner");
    let removebox= document.getElementsByClassName("AvailableGameTextWrapperBackground");
    let imgedits = document.getElementsByClassName("AvailableGame");

    setInterval(function() {
        const crosshair = document.querySelector(".CrossHair");
        if (crosshair) {
            crosshair.textContent = "";
            crosshair.style.backgroundImage = "url(https://piskel-imgstore-b.appspot.com/img/354b6bd7-1cd8-11ef-8822-bbb60d940ece.gif)";
            crosshair.style.backgroundRepeat = "no-repeat";
            crosshair.style.backgroundSize = "contain";
            crosshair.style.width = "19px";
            crosshair.style.height = "19px";
        }
    }, 1000);

    (function() {
        'use strict';
        setInterval(function() {
            const hotbarslots = document.querySelectorAll(".item");
            const selectedslot = document.querySelectorAll(".SelectedItem");
            if (hotbarslots) {
                hotbarslots.forEach(function(hotbar) {
                    hotbar.style.borderRadius = "8px";
                    hotbar.style.borderColor = "#000000";
                    hotbar.style.backgroundColor = "transparent";
                    hotbar.style.boxShadow = "none";
                    hotbar.style.outline = "transparent";
                });
            }
            if (selectedslot) {
                selectedslot.forEach(function(slot) {
                    slot.style.backgroundColor = "transparent";
                    slot.style.boxShadow = "none";
                    slot.style.borderRadius = "15px";
                    slot.style.borderColor = "#FFFFFF";
                    slot.style.outline = "transparent";
                });
            }
        }, 1);
    })();

    document.querySelectorAll('.AvailableGame').forEach(item => {
        item.style.border = "none";
    });

    for (let i = 0; i < names.length; i++) {
        names[i].style.textShadow = "none";
        removebox[i].style.opacity= "0";
        imgedits[i].style.border = "none";
        imgedits[i].style.boxShadow = "0px 10px 20px rgba(0, 0, 0, 0.4)";
    }
}, 1000);