Extend "AO3: kudosed seen history": Export/Import, Redesign, Network fix | AO3 Light/Dark toggle

Add Export/Import buttons history to TXT. Fix back-navigation not collapsed. Redesigned skipped+seen combo button. Enhanced title. External links do not mark seen on open. | AO3 Standalone: Light/Dark site-skin button.

目前为 2025-05-23 提交的版本,查看 最新版本

作者
C89sd
评分
0 0 0
版本
1.43
创建于
2025-03-06
更新于
2025-05-23
大小
31.8 KB
许可证
暂无
适用于

Unofficial extension that works with @Min_'s https://greasyfork.org/en/scripts/5835-ao3-kudosed-and-seen-history
| Also bundles a Light/Dark mode button.


Outdated screenshot, before button redesign.

1. Add History Export/Import buttons at the bottom for when it gets too large to copy-paste. (Also restores the username&settings.)
2. (Partially implemented): Fix links not being collapsed immediately and needing a reload when navigating back. Can also uncollapse fics when navigating back if you changed the seen/skipped state from inside. Adds a blink and opening effect to identify the link you navigated back from.
3. Rename the Unseen/Seen buttons (they were named backwards for some reason? also color them green/red to be more explicit).
4. Add Skipped toggle besides the Seen button.
5. 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.
6. Intercept the 20x network requests when seeing new works, should prevent AO3 blocking you. (This makes the script think you kudosed nothing, but I only care about seen functionality.)
7. Optional "Mark as seen on open" reimplementation that works when browsing AO3 but ignores outside links.
To enable this feature:
  They work together, simply disable the old setting from "AO3: Kudosed and seen history" or it looses the Old/New info:
  → [Seen works > Settings and import/export > Mark as seen on open: NO].
  Note: If you prefer the old behavior, you don't need to change anything; but setting IGNORE_EXTERNAL_LINKS=false atop the code + disabling the setting will let it tell you if you visited that link before or right now ("SEEN old" vs "SEEN new").

Standalone Feature: Merged to efficiently share the button bar, but can be used without @Min_'s script.
8. Add a (Light/Dark) site 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).

Not recommended: some features can be disabled by editing the script and changing top constants, but you may want to disable updates or will have to redo it each time.