您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Annoys you
// ==UserScript== // @name Annoyer Bot // @version 0.4 // @namespace https://spoonstudios.dev/ // @description Annoys you // @author EthanSpoon // @match *://*/* // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; // Create the popup container const popup = document.createElement('div'); let rand = Math.floor(Math.random() * 10) + 1; if (rand==1) { popup.textContent = "hello"; } else if(rand==2){ popup.textContent = "ping"; } else if(rand==3){ popup.textContent = "never gonna give you up"; } else if(rand==4){ popup.textContent = "get back to work"; } else if(rand==5){ popup.textContent = "take a chill pill"; }else if(rand==6){ popup.textContent = "meow"; }else if(rand==7){ popup.textContent = "made by spoonstudios"; }else if(rand==8){ popup.textContent = "learn more coding"; }else if(rand==9){ popup.textContent = "qwerty123456"; }else if(rand==5){ popup.textContent = "how are you?"; } // Style the popup (centered, visible, nice background) Object.assign(popup.style, { position: 'fixed', top: '50%', left: '50%', transform: 'translate(-50%, -50%)', backgroundColor: '#222', color: '#fff', padding: '20px 40px', fontSize: '24px', fontFamily: 'Arial, sans-serif', borderRadius: '10px', boxShadow: '0 4px 10px rgba(0,0,0,0.5)', zIndex: 99999, cursor: 'pointer', userSelect: 'none', }); // Remove popup when clicked popup.addEventListener('click', () => popup.remove()); // Add popup to body document.body.appendChild(popup); // Optional: remove popup automatically after 5 seconds setTimeout(() => popup.remove(), 5000); })();