Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Get all smileys from W3Schools
const nodes = document.querySelectorAll("html body div#belowtopnav.w3-main.w3-light-grey div.w3-row.w3-white div#main.w3-col.l10.m12 div.w3-responsive table.w3-table-all.charset-tryit tbody tr td:first-child")
const emojis = [];
for (const node of nodes) {
emojis.push(node.innerText)
}
console.log(JSON.stringify(emojis))
https://www.w3schools.com/charsets/ref_emoji_smileys.asp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment