Skip to content

Instantly share code, notes, and snippets.

@josejuan
Last active September 6, 2020 18:08
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 josejuan/bb8a48c8e1b1ae69cb7d5e5483e90142 to your computer and use it in GitHub Desktop.
Save josejuan/bb8a48c8e1b1ae69cb7d5e5483e90142 to your computer and use it in GitHub Desktop.
// la consola javascript suele abrirse con F12, copiar, pegar, ENTER:
[].slice.call(document.querySelectorAll("li.comment"))
.filter(x => x.querySelector("b.fn").innerText == "David B")
.forEach(x => x.style.display = 'none')
// Antonio (AKA "Un físico")
[].slice.call(document.querySelectorAll("li.comment"))
.filter(x => x.querySelector("b.fn").innerText == 'Antonio (AKA "Un físico")')
.forEach(x => x.style.display = 'none')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment