Created
October 23, 2021 00:16
-
-
Save fellipebrito/ec8a72918c38af10bd710507f7aa1ed1 to your computer and use it in GitHub Desktop.
Remove What is Happening from Twitter
This file contains hidden or 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
// Download the Run Javascript Chrome Extension: | |
// https://chrome.google.com/webstore/detail/run-javascript/lmilalhkkdhfieeienjbiicclobibjao | |
function hideIt(elementToBeHidden){ | |
document.getElementsByClassName(elementToBeHidden)[0].style.display = "none"; | |
} | |
function sleep(duration) { | |
return new Promise(resolve => { | |
setTimeout(() => { | |
hideIt("css-1dbjc4n r-1ysxnx4 r-k0dy70 r-1867qdf r-1phboty r-rs99b7 r-1ifxtd0 r-1udh08x") | |
}, duration * 1000) | |
}) | |
} | |
sleep(5) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment