Skip to content

Instantly share code, notes, and snippets.

@andy0130tw
Created April 7, 2015 11:03
Show Gist options
  • Select an option

  • Save andy0130tw/bf8cceb49892efb0e042 to your computer and use it in GitHub Desktop.

Select an option

Save andy0130tw/bf8cceb49892efb0e042 to your computer and use it in GitHub Desktop.
Automatically redirect Chinese Wikiwand pages to Traditional Chinese version!
// ==UserScript==
// @name WW Convert to Trad. Chinese
// @namespace andypan.wikiwand.tradc
// @include http://www.wikiwand.com/zh/*
// @version 1
// @grant none
// @@run-at document-start
// ==/UserScript==
// Use it with GreaseMonkey (for Firefox) or Tampermonkey (for Chrome)!
(function(loc){
loc.replace(loc.href.replace(/\/zh\//, "/zh-tw/"));
})(location);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment