Skip to content

Instantly share code, notes, and snippets.

@toanalien
Created August 10, 2020 08:31
Show Gist options
  • 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