Skip to content

Instantly share code, notes, and snippets.

@hieunc229
Last active January 4, 2021 04:29
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 hieunc229/ee6e687dd56b740620c93d6e48d3c6fb to your computer and use it in GitHub Desktop.
Save hieunc229/ee6e687dd56b740620c93d6e48d3c6fb to your computer and use it in GitHub Desktop.
Extract a list of domain from a list of words (at word.tips)
// 1. Visit https://word.tips/words-end-in/me/?length=5
// 2. Paste the below code to your browser console
Array.from(document.querySelectorAll(`.wordblock`))
.map(item => item.innerText)
.map(str =>str.substr(0, str.length - 2)) // 2 is the length of the extension
.join(`.me\n`)
// Result
// zymo.me
// enzy.me
// exhu.me
// squa.me
// lexe.me
// taxe.me
// waka.me
// byna.me
// chro.me
// sche.me
// beca.me
// beco.me
// ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment