您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Tired of seeing those 2 or 3 pesky GMM rooms that clutter your precious room list? This is the mod for you.
// ==UserScript== // @name Hide rooms that have GMM in the title // @version 1.0 // @description Tired of seeing those 2 or 3 pesky GMM rooms that clutter your precious room list? This is the mod for you. // @author SneezingCactus // @license MIT // @match https://*.bonk.io/gameframe-release.html // @run-at document-start // @grant none // @namespace https://gf.qytechs.cn/users/938482 // ==/UserScript== (function() { 'use strict'; if(!window.bonkCodeInjectors) window.bonkCodeInjectors = []; window.bonkCodeInjectors.push(bonkCode => { try { bonkCode = bonkCode.replace(/(gl:[^,]+,token.{0,100}function[^;]{0,200};)/, [ '$1const rooms = arguments[0].rooms;', 'const roomsNew = [];', 'for(let i = 0; i < rooms.length;i++)', 'if(!(/[Gg][^MmGg]{0,6}[Mm][^MmGg]{0,6}[Mm]/.test(rooms[i].roomname)))', 'roomsNew.push(rooms[i]);', 'arguments[0].rooms = roomsNew;', ].join('')); return bonkCode; } catch (error) { throw error; } }); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址