Skip to content

Instantly share code, notes, and snippets.

@fabiomirandaa
Created October 4, 2019 21:19
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 fabiomirandaa/469da1e138cc161947737f3a722e0284 to your computer and use it in GitHub Desktop.
Save fabiomirandaa/469da1e138cc161947737f3a722e0284 to your computer and use it in GitHub Desktop.
Console de títulos das seções da página de curso da Udemy
let scopeCourseUdemy = document.querySelectorAll(".section-title-text");
scopeCourseUdemy = Array.from(scopeCourseUdemy);
scopeCourseUdemy.forEach(section => {
console.log(section.textContent);
return section;
})
Gist usado para conseguir jogar os títulos das seções dos cursos da Udemy no console, facilitando a organização de tarefas em TODO-lists e Pomodoros da vida.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment