disable xmlhttp requests

try to take over the world!

目前為 2020-12-04 提交的版本,檢視 最新版本

// ==UserScript==
// @name         disable xmlhttp requests
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        *://*/*
// @grant        none
// @require      https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js
// @run-at document-start
// ==/UserScript==

(function() {
    'use strict';
    var $ = window.jQuery;
    // Your code here...
    XMLHttpRequest = function(){}
    XMLHttpRequest.prototype = {
        open: function(){},
        send: function(){}
    }
})();