Skip to content

vincent.re

Just another geek stufs site

  • Français
  • English

Recent Posts

  • Always redirect to Microsoft’s US version of MSDN
  • Associate PS1 files with Windows Terminal
  • Google Chrome Data Saver VS Tampermonkey UserScripts
  • Open containing folder in Notepad++
  • LG N2R1 NAS hack

Categories

  • Music
  • Tech
  • Uncategorized
  • Written somewhere

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Tag: regex

Always redirect to Microsoft’s US version of MSDN

The US version of MSDN is easier for me to understand but Google always sends me to the French version.

The extension Redirector and a small Regex does the trick to fix this :

From :

^(https?)://(.+?)\.microsoft\.com/((?!(en-us))..-..)/(.*)$

To :

$1://$2.microsoft.com/en-us/$5

Redirector screenshot

Posted on 2020-11-102020-11-10Categories Tech, Written somewhereTags regexLeave a comment on Always redirect to Microsoft’s US version of MSDN
Proudly powered by WordPress