您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Do not redirect the original URL to new URL format
// ==UserScript== // @name DisneyRedirectUrlBlocker // @namespace http://tampermonkey.net/ // @version 1.1 // @description Do not redirect the original URL to new URL format // @match https://www.disneyplus.com/* // @grant none // @run-at document-start // @author zackmark29 // @license MIT // ==/UserScript== (function() { const URL_TO_BLOCK = "https://disney.api.edge.bamgrid.com/explore/v1.3/deeplink"; const xhr = XMLHttpRequest.prototype.open; XMLHttpRequest.prototype.open = function(method, url) { if (!url.includes(URL_TO_BLOCK)) { xhr.call(this, method, url); } }; })();