Disable Websites' PCDN

Disable websites to use PCDN to upload content

// ==UserScript==
// @name         Disable Websites' PCDN
// @namespace    http://tampermonkey.net/
// @version      2024-04-01-1
// @description  Disable websites to use PCDN to upload content
// @author       Dyneeshely
// @license      AGPL
// @match        https://*.bilibili.com*
// @icon         https://img.catrol.cn/avatar/avatar-head-only.png
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    delete window.RTCPeerConnection;
    delete window.mozRTCPeerConnection;
    delete window.webkitRTCPeerConnection;
    delete window.RTCDataChannel;
    delete window.DataChannel;
})();