您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Remove forced video feed from other users.
// ==UserScript== // @name Remove video feed on Discord (Fork) // @namespace Remove video feed on Discord (Fork) Remove forced video feed from other users. // @version 1 // @description Remove forced video feed from other users. // @license Apache-2.0 // @match https://discordapp.com/* // @match https://discord.com/* // @grant none // @author https://gf.qytechs.cn/en/users/2205-ryzhehvost (original) https://gf.qytechs.cn/en/users/895144-ed-frees (fork) // ==/UserScript== (function() { 'use strict'; let blockedlist = document.querySelectorAll("div[class^='pictureInPicture']"); blockedlist.forEach(elem=>(elem.remove())); let mutationObserver = new MutationObserver(function(mutations) { mutations.forEach(function(mutation) { mutation.addedNodes.forEach( function(currentValue, currentIndex, listObj) { if (currentValue.nodeType == Node.ELEMENT_NODE) { let blockedlist = currentValue.querySelectorAll("div[class^='pictureInPicture']"); blockedlist.forEach(elem=>(elem.remove())); } }); }); }); mutationObserver.observe(document.documentElement, { childList: true, subtree: true }); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址