您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Make sure you always see the steam page in your preferred language. You can configure the language in the language variable.
当前为
// ==UserScript== // @name Steam - Default language // @version 1.0 // @description Make sure you always see the steam page in your preferred language. You can configure the language in the language variable. // @author Royalgamer06 // @include /^https?\:\/\/(store\.steampowered|steamcommunity)\.com.*/ // @run-at document-idle // @grant none // @namespace https://gf.qytechs.cn/users/13642 // @require http://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.js // ==/UserScript== //SET YOUR LANGUAGE HERE const strTargetLanguage = "english"; //bulgarian, czech, danish, dutch, finnish, french, greek, german, hungarian, italian, japanese, koreana, norwegian, polish, portuguese, brazilian, russian, romanian, schinese, spanish, swedish, tchinese, thai, turkish, ukrainian const bStayOnPage = false; //true, false //DO NOT TOUCH BELOW var cookie = document.cookie; var language; $("script[src]").each(function() { var match = this.src.match(/(?:\?|&(?:amp;)?)l=([^&]+)/); if (match) { language = match[1]; return false; } }); if (language === undefined) { language = (cookie.match(/steam_language=([a-z]+)/i) || [])[1] || "english"; } if (language.toLowerCase() !== strTargetLanguage.toLowerCase()) { //ChangeLanguage(strTargetLanguage, bStayOnPage); $.post("/account/setlanguage", { language: strTargetLanguage, sessionid: g_sessionID }, function() { if (!bStayOnPage) location.href = location.href.replace(/l\=[a-zA-Z]+&?/, ""); }); }
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址