Twitter: view more replies and remove useless sections

View more replies and remove useless sections from twitter

От 28.04.2022. Виж последната версия.

Автор
max44
Рейтинг
0 0 0
Версия
1.7.1
Създаден
11.07.2021
Обновен
28.04.2022
Размер
10 КБ
Лиценз
MIT
Работи на

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 script 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"