Skip to content

Instantly share code, notes, and snippets.

@ConorOBrien-Foxx
Created February 23, 2018 19:44
Show Gist options
  • Save ConorOBrien-Foxx/24f81bca6b7de0d9c98f498a168e1590 to your computer and use it in GitHub Desktop.
Save ConorOBrien-Foxx/24f81bca6b7de0d9c98f498a168e1590 to your computer and use it in GitHub Desktop.
alert([...document.querySelectorAll(".active-question-content__prompt p")].map((e,i)=>(a=e.textContent,(a.search(++i)?"":i+". ")+e.textContent)).join`
`)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment