Twitter: view more replies and remove useless sections

View more replies and remove useless sections from twitter

Fra 26.03.2022. Se den seneste versjonen.

Forfatter
max44
Vurderinger
0 0 0
Versjon
1.6.7
Lagd
11.07.2021
Oppdatert
26.03.2022
Size
4 kB
Lisens
MIT
Gjelder

This script is based on ideas of the following 2 scripts to make twitter better:
https://gf.zukizuki.org/en/scripts/402953-view-more-twitter-replies
https://gf.zukizuki.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 English language of Twitter's interface.


Script expands the following hidden sections of each tweet:
- "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"