Greasy Fork is available in English.

LOR spoiler

Add spoiler functionality

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

You will need to install an extension such as Tampermonkey 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.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

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!)

Autor
Артем Малофеев
Installationen heute
0
Installationen gesamt
19
Bewertungen
1 0 0
Version
2
Erstellt am
02.02.2017
Letzte Aktualisierung
02.02.2017
Größe
1,84 KB
Lizenz
n/a
Wird angewandt auf

https://www.linux.org.ru/forum/linux-org-ru/13081628

Автор: https://www.linux.org.ru/people/anTaRes/profile

В очередной раз наткнувшись на километровый топик с вставками кода решил откопать свой юзерскрипт для скрытия больших кусков кода.

Последняя версия где-то протерялась, потому переписал практически с нуля, на основе той что нашел:

префикс перед spoiler, в зависимости от типа
умеет скрывать теги [cut], [code], [pre]
лимит строк - 15 или 5, если тема засрана вставками (тут можно считать лимиты отдельно для каждого поста, но мне лень).