Last active
March 8, 2020 00:49
-
-
Save yayMark/c54bf9c981d9ebe805ebb4689c65cb6d to your computer and use it in GitHub Desktop.
JS: hide trending on 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
const sidebar = document.querySelectorAll('[data-testid=sidebarColumn]')[0]; | |
const trending = sidebar.querySelector('div > div > div > div > div > div:nth-child(3)'); | |
trending.style.display = 'none'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment