Greasy Fork

Greasy Fork is available in English.

Old Reddit highlighter + Live backup for Min_'s "AO3: kudosed seen history"

Addon to highlight AO3 marked-as-seen link across old Reddit. Must keep a separate seen/skipped backup that it will let you download if >30 entries disappear (cleared cookies).

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

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

Features:
• Colored with dotted 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.

- random reddit post

Default color scheme: (has dark-mode support)
  default unseen, marked skipped, marked seen  
  default unseen, marked skipped, marked seen  

Optional color scheme: (to match "Highlight visited fanfics", must be enabled atop the code)
  default unseen, marked skipped, marked seen  

I was going to add this feature to Extend "AO3: kudosed seen history", but any script can read AO3's localStorage; as opposed to AH/DLP/QQ/SB/SV/FFN/HPF/PC/OR Highlight visited fanfics which uses private GM storage by default to cross-highlight on a few subreddits. But I wanted to keep the script as small as possible to highlight all subreddits this time.

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

The script exits quickly if no ao3 links are found, and only hooks the back-forward/focus handlers otherwise.
Still, if you'd like to restict it to a few subreddits, edit the @include statement atop the code as instructed (though you will lose that edit on the next update unless you disable them).
Note: New Reddit cannot be supported due to links loading dynamically.

And since the script has a private copy of your seen/skipped ids, it also detects data loss from cleared cookies. The condition is a list loosing 30+ entries at a time, your seen/skipped data will be protected if they have over 30 entries. You will then see this message: