您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
destroy every site
// ==UserScript== // @name Website Destroyer // @namespace http://tampermonkey.net/ // @version 2025-06-12 // @description destroy every site // @author ray0kay // @match *://*/* // @license MIT // @grant none // ==/UserScript== 'use strict'; const targets = [ Object, Array, Function, Math, Reflect, JSON, Object.prototype, Array.prototype, Function.prototype, String.prototype, Number.prototype, Boolean.prototype, Date.prototype, ]; const og = { getOwnPropertyNames: Object.getOwnPropertyNames, floor: Math.floor, random: Math.random, }; for (const target of targets) { if (target == null) continue; if (typeof target !== "object" && typeof target !== "function") continue; let props; try { props = og.getOwnPropertyNames(target); } catch { continue; } if (!Array.isArray(props)) continue; const functionProps = []; for (const p of props) { let val; try { val = target[p]; } catch { continue; } if (typeof val === "function") { functionProps.push(p); } } for (const k of functionProps) { const candidates = functionProps.filter((p) => p !== k); if (candidates.length === 0) continue; const rand = candidates[og.floor(og.random() * candidates.length)]; try { target[k] = target[rand]; } catch { continue; } } }