Holotower Catalog Highlights and Pin

Highlight and pin threads in the catalog

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
tentontruck
今日安裝
0
安裝總數
32
評價
0 0 0
版本
1.02
建立日期
2025-07-20
更新日期
2025-09-07
尺寸
11.9 KB
授權條款
CC0
腳本執行於

Holotower Catalog Highlights and Pin

Adds customizable Highlight and Pin features to the Catalog on Holotower:

  • Search is not case sensitive.
  • Tries to match subject first. If a thread has no subject, tries to match the post content.
  • Pin: pins the most recently bumped thread for each search criteria at the start of the catalog. Pinned threads are sorted by bump order.
  • Hide older threads: hides all the non-most recently bumped highlighted threads from the catalog.

CSS Customization (optional)

The appearance of the pinned threads can be customized with User CSS, using var(--pin-color) in the rule to dynamically use that pin's color. Rules may need !important to override the default style.

Example #1 - thicker lines:

.highlighted > div { box-shadow: inset 0px 0px 2px 6px var(--pin-color) !important; } 

Example #2 - remove the colored shadow; add a colored dashed top border:

.highlighted > div {
    box-shadow: none !important;
    border-top: 4px dashed var(--pin-color) !important;
}

Example #3 - remove the colored shadow; set background to pin color; set text to black (for bright pin colors)

.highlighted > div {
    box-shadow: none !important;
    background: var(--pin-color) !important;
    color: black;
}