Planetsuzy Threads - Auto fold posts

This script will automatically fold some of the forum posts based on their content

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

You will need to install an extension such as Tampermonkey to install this script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

Autore
babarian
Installazioni giornaliere
0
Installazioni totali
53
Valutazione
0 0 1
Versione
1.3.1
Creato il
27/02/2019
Aggiornato il
19/01/2022
Dimensione
17,9 KB
Licenza
MIT
Applica a

The main purpose of this script is to help users scroll down over uninteresting content faster. It does so:

  1. by providing a small toggle button (▼) to fold or reveal the post contents, and
  2. by a way for users to 'blacklist' certain content that will cause some posts to fold automatically.

How to use blacklist

If a post has any external hyperlinks, a list of the respective domain names is added next to the post folding toggle. Clicking any of these domain names toggles their 'blacklisted' state on or off. The blacklist is stored only in the local user script settings.

The changes do not apply immediately, the page must be reloaded to in order see them.

Any post with hyperlinks leading only to blacklisted domains will be folded by default, with only their header visible. It can still be viewed by revealing the post manually. Links to blacklisted domains will be of a lighter color in order to emphasize other, non-blacklisted links in the post.

Manual folding/revealing of individual posts is not persisting and upon the next page load the posts will be either visible or folded based on the rules above.

Thread Tools menu has buttons to toggle all or unread posts that have been auto-hidden.