Greasy Fork

Greasy Fork is available in English.

Reddit highlighter for Min_'s "AO3: kudosed seen history"

Addon to highlight AO3 links marked-as-seen via Min_'s "AO3: Kudosed and seen history" across all subreddits (old&new).

当前为 2025-05-25 提交的版本,查看 最新版本

作者
C89sd
评分
0 0 0
版本
1.2
创建于
2025-05-24
更新于
2025-05-25
大小
10.2 KB
许可证
暂无
适用于

Features:
• Wavy underline for work links (seen-able).
• Adds a ⧉ symbol in front of series links (not seen-able).
• Live highlights on back-forward navigation and focus change.

Color seen and skipped links: (default colorscheme compatible with "Highlight visited fanfics")
  default unseen, marked skipped, marked seen  
Optional Red-Green colorscheme: (must edit code to select; has a lighter dark-mode)
  default unseen, marked skipped, marked seen  
  default unseen, marked skipped, marked seen  

I was going to add this feature to Extend "AO3: kudosed seen history", but there were no advantages to doing so.
Compared to AH/DLP/QQ/SB/SV/FFN/HPF/PC/OR Highlight visited fanfics, which provides cross-highlights on a few subreddits via plugin storage, any script can read from AO3 localStorage; and I wanted the script injected into Reddit to be as small as possible.

I passively intercept all seen/skipped localStorage writes from both @Min_'s AO3: Kudosed and seen history and my Extend script, and copy them to GM plugin storage where they can be cross-accessed from Reddit (same concept as the ... Highlight visited fanfics script; in fact, I reused its cache-safe GM storage code to get real-time highlights with back-forward navigation and focus.)

That said, this AO3 script is much lighter and more optimized: I benched its early-exit condition (no ao3 links found) at 0.07 ms on the largest 5000-comments/2000-links Reddit posts!
Because of this, it is enabled across all of Reddit. But if you would like to limit it to a few subs, you can edit the code and the provided @include statement (disable updates though, or you will lose that edit at the next update).