Skip to content

Instantly share code, notes, and snippets.

@hfhchan
Last active September 29, 2016 02:12
Show Gist options
  • Select an option

  • Save hfhchan/4143c2aee0d3f30021ce2204b8e5392e to your computer and use it in GitHub Desktop.

Select an option

Save hfhchan/4143c2aee0d3f30021ce2204b8e5392e to your computer and use it in GitHub Desktop.
Use Simsun for Glyphwiki
// ==UserScript==
// @name Glyphwiki use SimSun Font
// @namespace https://github.com/hfhchan
// @include http://glyphwiki.org/*
// @include http://en.glyphwiki.org/*
// @include http://zht.glyphwiki.org/*
// @include http://zhs.glyphwiki.org/*
// @version 1
// @grant none
// ==/UserScript==
Array.prototype.slice.call(document.querySelectorAll('.related')).forEach(function(el){
el.style.fontFamily = 'SimSun';
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment