您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Use legacy search when the developer/publisher link is clicked. 商店页点击开发商或发行商链接将使用旧版本搜索。
当前为
// ==UserScript== // @name SteamDeveloperAndPublisherSearch // @description Use legacy search when the developer/publisher link is clicked. 商店页点击开发商或发行商链接将使用旧版本搜索。 // @namespace https://greasyfork.org/users/255836-icue // @version 0.50 // @match https://store.steampowered.com/app/* // ==/UserScript== var elements = document.getElementsByClassName("summary column"); if (elements.length > 2) { elements.item(elements.length - 2).querySelectorAll("#developers_list > a") .forEach(function (node){ if (node.text && node.text !== "") { node.href = "https://store.steampowered.com/search/?developer=" + node.text; } }); elements.item(elements.length - 1).querySelectorAll("a") .forEach(function (node){ if (node.text && node.text !== "") { node.href = "https://store.steampowered.com/search/?publisher=" + node.text; } }); }