您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
animation remove
// ==UserScript== // @name Animation Remove // @namespace ar.nao.zero // @version 0.3 // @description animation remove // @author nao // @match https://www.torn.com/item.php* // @icon https://www.google.com/s2/favicons?sz=64&domain=torn.com // ==/UserScript== const originalAjax = $.ajax; $.ajax = function (options) { console.log(options); if (options.url && options.url.includes("page.php?sid=inventory")) { console.log(options); const originalSuccess = options.success; options.success = function (data, textStatus, jqXHR) { console.log(data); let responsedata = data; responsedata.modelled = "None"; responsedata.modelPosition = {"x":null, "y":null, "z":null}; responsedata.modelHdri = ""; data = responsedata; console.log("Response Change"); console.log(responsedata); if (originalSuccess){ originalSuccess(data, textStatus, jqXHR); } }; } return originalAjax(options); }