Last active
June 23, 2023 02:55
-
-
Save boehs/be3a8d4d9bb90e956d01824daca0f9b2 to your computer and use it in GitHub Desktop.
(quizlet|vocabulary.com) to seperated words
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let words = document.querySelectorAll('.SetPageTerm-wordText'); | |
[...document.querySelectorAll('.SetPageTerm-definitionText')].map((def,index) => def.textContent + " " + words[index].textContent).join('\n') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let words = document.querySelectorAll('.definition'); | |
[...document.querySelectorAll('.word')].map((def,index) => def.textContent + " " + words[index].textContent).join('\n') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment