Greasy Fork is available in English.

LOR spoiler

Add spoiler functionality

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 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.

(Tôi đã có Trình quản lý tập lệnh người dùng, hãy cài đặt nó!)

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

Tác giả
Артем Малофеев
Cài đặt hàng ngày
0
Số lần cài đặt
19
Đánh giá
1 0 0
Phiên bản
2
Đã tạo
02-02-2017
Đã cập nhật
02-02-2017
Kích thước
2 KB
Giấy phép
N/A
Áp dụng cho

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

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

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

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

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