Greasy Fork is available in English.

Media mode for Twitter home

Remove text-only tweets on the flow of Twitter home/list. It is currently Beta quality.

Autore
UtopicPanther
Installazioni giornaliere
1
Installazioni totali
985
Valutazione
11 1 0
Versione
0.7.1
Creato il
05/08/2020
Aggiornato il
07/08/2020
Licenza
GPL-3.0-or-later
Applica a

Media mode for Twitter home

Github: https://github.com/UtopicPanther/userscript-twitter-home-media

Remove text-only tweets on the flow of my Twitter home and list.

Script need some time to startup.

How it works: Monitor page element changes. Then retrieve all tweets that do not contain pictures and other media (such as videos) and hide them. Then retrieve the previously hidden Tweets but the media was added, and restore them to display.

I only tested in Firefox (disabled CSP) and Violentmonkey. User reports also work under Chrome.

Firefox notice

Due to CSP, maybe you need set security.csp.enable in your Firefox about:config to false

COPYING

Copyright (C) 2020 UtopicPanther

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

This script contains an additional exemption. When this script is injected into the site with the original setting of @match, other user scripts running in the same space are not required to be compatible with GPL 3.