您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
支持MSDN/MDN
// ==UserScript== // @name 切换文档语言至简体中文 // @namespace https://github.com/Sunhelter/LearningFile/blob/master/UserScript/Chang.en-us.to.zh-CN.js // @version 0.8.1 // @description 支持MSDN/MDN // @author Sunhelter // @license MIT // @date 2019-05-15 // @match *://docs.microsoft.com/* // @match *://learn.microsoft.com/* // @match *://support.microsoft.com/* // @match *://azure.microsoft.com/* // @match *://developer.mozilla.org/* // @exclude *://learn.microsoft.com/en-us/answers/* // @grant none // ==/UserScript== (function () { var url = window.location.href; var cnurl = window.location.href; if (url.indexOf("/en-us") > -1) { cnurl = url.replace('/en-us', '/zh-CN'); } else if (url.indexOf("/en-US") > -1) { cnurl = url.replace('/en-US', '/zh-CN'); } else if (url.indexOf("/zh-tw") > -1) { cnurl = url.replace('/zh-tw', '/zh-CN'); } else if (url.indexOf("/zh-TW") > -1) { cnurl = url.replace('/zh-TW', '/zh-CN'); } if (cnurl != url) { window.location.href = cnurl; } })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址