Planetsuzy Threads - Auto fold posts

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

As of 04.03.2019. See апошняя версія.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Аўтар
babarian
Рэйтынг
0 0 0
Версія
1.0
Створаны
27.02.2019
Абноўлены
04.03.2019
Памер
10.3 КБ
Ліцэнзія
MIT
Ужываецца на

The main purpose of this script is to help users scroll down over uninteresting content faster. It does so by providing a small toggle (▼) to fold or unfold the post contents and by a way for the user to 'blacklist' certain content.

If a post has any external hyperlinks, a list of the respective domain names are 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 unfolding 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/unfolding 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.