Extend "AO3: Kudosed and seen history" | Export/Import + Standalone Light/Dark mode toggle

Add Export/Import history to TXT buttons at the bottom of the page. │ Fix back-navigation not being collapsed. │ Color and rename the confusing Seen/Unseen buttons. │ Enhance the title. │ Fix "Mark as seen on open" triggering on external links. ║ Standalone feature: Light/Dark site skin toggle button.

作者
C89sd
日安装量
2
总安装量
5
评分
3 0 0
版本
1.29
创建于
2025-03-06
更新于
2025-05-03
大小
28.2 KB
许可证
暂无
适用于

Unofficial extension that works with @Min_ 's https://greasyfork.org/en/scripts/5835-ao3-kudosed-and-seen-history



1. Add History Export/Import buttons at the bottom for when it gets too large to copy-paste. (Also restores the username&settings.)
2. Fix links not being collapsed immediately and needing a reload when navigating back. Can also uncollapses when navigating back if you changed the state from inside. Adds a blink and opening effect to identify the link you navigated back from.
3. Rename the Unseen/Seen buttons (invert the state/action and color them to be more explicit: green/red, Seen[unmark]/Unseen[mark]).
4. Turn the Title into a colored link to the current page; it can be clicked to quickly mark the page as seen and improves visibility.
5. Optional "Mark as seen on open" reimplementation that does the same job but ignores non-AO3 link referers. If you set IGNORE_EXTERNAL_LINKS=false, it fully replaces it but can tell you whether that link was visited before or now ("SEEN Old" vs "SEEN Now").
     To enable this feature:
     They work together, simply disable the old setting from "AO3: Kudosed and seen history" so it stops marking the fic thus losing the Old/New info:
     Settings → [Seen works > Settings and import/export > Mark as seen on open: NO].

Standalone Feature: Merged to efficiently share the button bar, but can be used without @Min_'s script.
6. Add quick (Light/Dark) skin toggle button at the bottom, without needing to go through preferences.
     Custom skins: The default skins are ["Default", "Reversi"], you can edit the script and replace them with custom names (if more than 2, they cycle).

Each features can be disabled by editing the script and setting top constants to 'false', but you may want to disable updates or will have to redo it each time.