Skip to content

Instantly share code, notes, and snippets.

@CWKSC
Last active April 16, 2020 05:42
Show Gist options
  • Save CWKSC/75786036d53f4f6f861b05ebda2e1876 to your computer and use it in GitHub Desktop.
Save CWKSC/75786036d53f4f6f861b05ebda2e1876 to your computer and use it in GitHub Desktop.
Change page font family to Microsoft JhengHei by js
document.querySelectorAll('*').forEach(e => e.style.fontFamily = "Microsoft JhengHei");
document.querySelectorAll('*').forEach(e => {
e.style.fontFamily = "Microsoft JhengHei";
e.style.fontWeight = "bold";
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment