Twitter: view more replies and remove useless sections

View more replies and remove useless sections from twitter

As of 2022-04-25. See the latest version.

Author
max44
Ratings
0 0 0
Version
1.7.1
Created
2021-07-11
Updated
2022-04-25
Size
12.3 KB
License
MIT
Applies to

This script is based on ideas of the following 2 scripts to make twitter better:
https://greasyfork.org/en/scripts/402953-view-more-twitter-replies
https://greasyfork.org/en/scripts/420034-twitter-remove-from-feed-who-to-follow-topics-to-follow-and-promoted-tweets


WARNING: At present this cript works correctly only with the following languages of Twitter's interface:
- English
- Ukrainian
- Simplified Chineese
- Traditional Chineese


Script expands the following hidden sections of each tweet:
- "Show replies"
- "Show more replies"
- "Show additional replies, including those that may contain offensive content"

Script hides the following useless sections:
- "Who to follow"
- "Trends for you"
- "Topics to follow"
- "Discover new Lists"
- "Recommended Topic"
- "Expand your timeline with Topics"
- "Suggested Topics"
- "Open app"
- "Concerned about your digital security?"

One new section was spotted on mobile browser: "Get the app", but I have not been able to catch it on PC browser yet to analyze its html code, so it is pending.

These sections are not processed, because it seems they were removed by Twitter:
- "Promoted"
- "Promoted by"
- "Promoted Tweet"
- "Set as not interested"