Skip to content

Instantly share code, notes, and snippets.

@toanalien
Created August 10, 2020 08:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save toanalien/20eecd345589b8261f98fdad8b1350ee to your computer and use it in GitHub Desktop.
Save toanalien/20eecd345589b8261f98fdad8b1350ee to your computer and use it in GitHub Desktop.
// https://sensiblechinese.com/common-chinese-characters/
// paste to Chrome console
cols = jQuery('.column-2')
characters = []
for (i=1; i<cols.length; i++) { // skip table header
characters.append(jQuery(cols[i]).text()));
}
// print array to console
characters.join("\",\"")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment