您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Custom zoom functionality for Slither.io with a prominent UI banner
// ==UserScript== // @name Slither.io Zoom ch3at by albinde | Paluten on top! // @namespace http://tampermonkey.net/ // @version 0.5 // @description Custom zoom functionality for Slither.io with a prominent UI banner // @author Discord: albinde // @match *://slither.io/* // @grant none // ==/UserScript== (function() { 'use strict'; // Create UI element function createUI() { // Remove existing UI elements const existingUI = document.getElementById('custom-ui'); if (existingUI) { existingUI.remove(); } const uiContainer = document.createElement('div'); uiContainer.id = 'custom-ui'; uiContainer.style.position = 'fixed'; uiContainer.style.left = '20px'; // Adjusted left position for visibility uiContainer.style.top = '-50%'; // Vertical center of the screen uiContainer.style.transform = 'translateY(-%)'; // Center vertically uiContainer.style.padding = '20px'; uiContainer.style.backgroundColor = 'rgba(0, 0, 0, 0.8)'; uiContainer.style.color = '#ffcc00'; uiContainer.style.fontFamily = 'Courier New, monospace'; uiContainer.style.fontSize = '30px'; // Larger text uiContainer.style.fontWeight = 'bold'; uiContainer.style.textAlign = 'center'; uiContainer.style.borderRadius = '15px'; // Larger radius uiContainer.style.zIndex = '9999'; uiContainer.style.boxShadow = '0 0 20px rgba(255, 0, 0, 0.8)'; // More pronounced shadow uiContainer.innerText = 'made by Discord: albinde'; document.body.appendChild(uiContainer); } // Add zoom functionality function addZoomFunctionality() { let zoomLevel = 1; const zoomStep = 0.1; const minZoom = 0.5; const maxZoom = 2; // Apply zoom effect function applyZoom() { document.body.style.transform = `scale(${zoomLevel})`; document.body.style.transformOrigin = '0 0'; document.body.style.width = `${100 / zoomLevel}%`; } // Event listeners for zoom controls document.addEventListener('keydown', function(event) { if (event.key === '+') { zoomLevel = Math.min(maxZoom, zoomLevel + zoomStep); applyZoom(); } else if (event.key === '-') { zoomLevel = Math.max(minZoom, zoomLevel - zoomStep); applyZoom(); } }); // Apply default zoom applyZoom(); } // Initialize function init() { createUI(); addZoomFunctionality(); } init(); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址