您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Toggles a centered emoji overlay in Slither.io with T key
- // ==UserScript==
- // @name Slither.io Change Snake Head To Emoji Toggle With T
- // @namespace http://tampermonkey.net/
- // @version 1.3
- // @description Toggles a centered emoji overlay in Slither.io with T key
- // @match http://slither.com/io
- // @grant none
- // @license MIT
- // ==/UserScript==
- (function () {
- 'use strict';
- const emojis = ['💀', '🤣', '🤬','😎']; //
- let currentIndex = 0;
- let emojiDiv;
- window.addEventListener('load', () => {
- emojiDiv = document.createElement('div');
- emojiDiv.textContent = emojis[currentIndex];
- emojiDiv.style.position = 'fixed';
- emojiDiv.style.top = '50%';
- emojiDiv.style.left = '50%';
- emojiDiv.style.transform = 'translate(-50%, -50%)';
- emojiDiv.style.fontSize = '48px';
- emojiDiv.style.zIndex = 9999;
- emojiDiv.style.pointerEvents = 'none';
- emojiDiv.style.userSelect = 'none';
- document.body.appendChild(emojiDiv);
- });
- window.addEventListener('keydown', (e) => {
- if (e.key.toLowerCase() === 't') {
- currentIndex = (currentIndex + 1) % emojis.length;
- if (emojiDiv) emojiDiv.textContent = emojis[currentIndex];
- }
- });
- })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址