Bloxd.io Performance Booster

Reduce lag and cap FPS in Bloxd.io (No maximum cap depending on your PC)

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         Bloxd.io Performance Booster
// @namespace    https://bloxd.io/
// @version      1.0
// @description  Reduce lag and cap FPS in Bloxd.io (No maximum cap depending on your PC)
// @author       iTzPenzAr
// @match        *://bloxd.io/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

// Define performance settings
const config = {
shadows: false, // Disable shadows
particles: false, // Remove particles
postProcessing: false, // Disable post-processing effects
fpsCap: 15000000 // Set FPS cap (can be adjusted as needed)
};

// Save settings to local storage
localStorage.setItem('shadows', JSON.stringify(config.shadows));
localStorage.setItem('particles', JSON.stringify(config.particles));
localStorage.setItem('postProcessing', JSON.stringify(config.postProcessing));
localStorage.setItem('fpsCap', JSON.stringify(config.fpsCap));

// Reload the page to apply the settings
    window.location.reload();
})();