Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
pageNameList = ["首页","封面","首頁","卷首","頭版","廣東話","/zh"];
var load = new Boolean(false);
 
$(function (){
	if(window.opera) {
		if(wgUserLanguage == "zh") {
			importStylesheetURI("http://meta.wikimedia.org/w/index.php?title=User:Marine-Blue/zhfont.css&action=raw&ctype=text/css");
		}
		else {
			for(i = 0; i < pageNameList.length; i++) {
				if(wgTitle.indexOf(pageNameList[i]) > -1) {
					importStylesheetURI("http://meta.wikimedia.org/w/index.php?title=User:Marine-Blue/zhcont.css&action=raw&ctype=text/css");
					load = true;
				}
			}
			if(load == "false") {
				catArea = document.getElementById("mw-normal-catlinks");
				catLinks = catArea.getElementsByTagName("a");
				for(i = 0; catLinks.length; i++) {
					if(catLinks[i].title.indexOf("ZH") > -1 || catLinks[i].title.indexOf("zh") > -1) {
						importStylesheetURI("http://meta.wikimedia.org/w/index.php?title=User:Marine-Blue/zhcont.css&action=raw&ctype=text/css");
					}
				}
			}
		}
	}
})