Created
August 12, 2015 10:31
-
-
Save jayme-github/2aa6ec4b5f319df495e8 to your computer and use it in GitHub Desktop.
Tampermonkey/Greasemonkey script to force the MS Knowledgebase to english
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name ForceEnglishMSKB | |
// @author jayme-github | |
// @namespace https://github.com/jayme-github/ | |
// @downloadURL https://gist.githubusercontent.com/jayme-github/2aa6ec4b5f319df495e8/raw/ForceEnglishMSKB.user.js | |
// @version 0.1 | |
// @description Force the MS Knowledgebase to english | |
// @match https://support.microsoft.com/*/kb/* | |
// @copyright 2015+, jayme-github | |
// ==/UserScript== | |
var lang = window.location.pathname.split("/")[1]; | |
if (lang.toLowerCase() != "en-us") { | |
new_location = window.location.href.replace("/"+lang+"/kb/", "/en-us/kb/"); | |
window.location.replace(new_location); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment