Skip to content

Instantly share code, notes, and snippets.

@jayme-github
Created August 12, 2015 10:31
Show Gist options
  • Save jayme-github/2aa6ec4b5f319df495e8 to your computer and use it in GitHub Desktop.
Save jayme-github/2aa6ec4b5f319df495e8 to your computer and use it in GitHub Desktop.
Tampermonkey/Greasemonkey script to force the MS Knowledgebase to english
// ==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