This line of code finds the “What’s happening” section of Twitter and removes it from the page:
You can drag this link to your browser’s bookmarks bar to create a bookmarklet:
Then when you’re on Twitter, click that bookmarklet to get rid of the “What’s happening” section.
- Modify the code to remove clickbait on other sites.
- Remove any tweets that contain annoying phrases like “buckle up”.
- Replace phrases like “playing devil’s advocate” with “being a jerk”.
Comments and Questions
Happy Coding is a community of folks just like you learning about coding.
Do you have a comment or question? Post it here!