Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// 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