干掉某站直播偷偷用P2P传输的脚本

// ==UserScript==
// @name         干掉B站直播P2P传输
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  干掉B站直播P2P传输
// @author       xfgryujk
// @include      /https?:\/\/live\.bilibili\.com\/?\??.*/
// @include      /https?:\/\/live\.bilibili\.com\/\d+\??.*/
// @include      /https?:\/\/live\.bilibili\.com\/(blanc\/)?\d+\??.*/
// @run-at       document-start
// @grant        none
// ==/UserScript==

(function() {
  delete window.RTCPeerConnection
  delete window.mozRTCPeerConnection
  delete window.webkitRTCPeerConnection
  delete window.RTCDataChannel
  delete window.DataChannel
})();
tag(s): none
show comments · back · home
Edit with markdown