您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
This script will disable WebGL on all sites (but with few site exceptions included to make online games work properly)
// ==UserScript== // @name Disable WebGL on all pages (modified) // @version 2025.10.08 // @description This script will disable WebGL on all sites (but with few site exceptions included to make online games work properly) // @author Joey_JTS // @license MIT // @include http://* // @include https://* // @exclude *://agar.io // @exclude *://classic.minecraft.net // @exclude *://crazygames.com // @exclude *://diep.io // @exclude *://newgrounds.com // @exclude *://ruffle.rs // @exclude *://scratch.mit.edu // @exclude *://slither.io // @exclude *://turbowarp.org // @namespace https://greasyfork.org/en/users/761382 // @unwrap // @run-at document-idle // @unwrap // @grant none // ==/UserScript== (function () { "use strict"; const originalGetContext = HTMLCanvasElement.prototype.getContext; HTMLCanvasElement.prototype.getContext = function (contextType) { if (contextType === "webgl" || contextType === "webgl2") { console.log("WebGL is disabled by Tampermonkey"); return null; } return originalGetContext.apply(this, arguments); }; })();