屏蔽 bilibili p2p 上传和下载

屏蔽 bilibili 直播的 p2p 上传和下载

// ==UserScript==
// @name         屏蔽 bilibili p2p 上传和下载
// @namespace    mscststs
// @version      0.1
// @description  屏蔽 bilibili 直播的 p2p 上传和下载
// @author       mscststs
// @grant 		unsafeWindow
// @match        https://live.bilibili.com/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    // window.navigator.getUserMedia = window.webkitGetUserMedia = window.msGetUserMedia = null
    // window.MediaSource = window.WebKitMediaSource = null
    // window.RTCPeerConnection = window.webkitRTCPeerConnection = window.mozRTCPeerConnection = null
    window.RTCDataChannel = window.DataChannel = null
})();