Block Network Traffic V1.1

Blocks network traffic by intercepting fetch requests

// ==UserScript==
// @name         Block Network Traffic V1.1
// @namespace    http://tampermonkey.net/
// @version      1.1
// @description  Blocks network traffic by intercepting fetch requests
// @author       zuxity
// @match        *://*/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    window.fetch = function() {
        console.log("Network traffic blocked: Fetch request intercepted");
        return Promise.reject("Network traffic blocked");
    };

})();