Skip to content

Instantly share code, notes, and snippets.

@DavidWells
Created November 24, 2021 01:57
Show Gist options
  • Save DavidWells/41bdcf43a5f0cae78af11403b3323b3b to your computer and use it in GitHub Desktop.
Save DavidWells/41bdcf43a5f0cae78af11403b3323b3b to your computer and use it in GitHub Desktop.
setInterval(function() {
var heading = Array.from(document.querySelectorAll('h2[role="heading"]')).find((header) => {
return header.innerText === "What’s happening"
})
var whatsHappening = heading && heading.parentNode && heading.parentNode.parentNode && heading.parentNode.parentNode.parentNode
// Kill Whats happening garbage
if (whatsHappening) {
whatsHappening.style.display = 'none'
}
}, 2000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment