Steam Inventory Fix

Fix steam inventory economy_v2.js requesting 5000 items instead of 2000.

// ==UserScript==
// @name         Steam Inventory Fix
// @namespace    https://gf.qytechs.cn/en/users/738914-ibreakeverything
// @version      2025-06-08
// @description  Fix steam inventory economy_v2.js requesting 5000 items instead of 2000.
// @author       iBreakEverything
// @match        https://steamcommunity.com/id/*/inventory*
// @match        https://steamcommunity.com/profiles/*/inventory*
// @icon         https://steamcommunity.com/favicon.ico
// @grant        none
// ==/UserScript==

(function() {
    const originalOpen = XMLHttpRequest.prototype.open;
    XMLHttpRequest.prototype.open = function(method, url) {
        if (url.includes('count=5000')) {
            url = url.replace('count=5000', 'count=2000');
        }
        return originalOpen.apply(this, arguments);
    };
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址