- Fetch episode data via /v0/episodes/{id} to get episode name (name_cn fallback to name)
- Fetch subject data via /v0/subjects/{subject_id} for cover image and subject name
- Display subject cover using person-page card layout; badge shows episode number
- Subject name used as tag; cache prevents duplicate API calls
- Bump version to 5.2
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Core new features:
- Add per-reply share buttons on all posts with nested reply chain display
- Refactor into _doShareCard() shared renderer supporting both topic and reply flows
- Screenshot via isolated iframe to fix Chrome html2canvas hang
- Inline images (emoji, stickers, content images) into base64 before capture
- Add spoiler mask toggle button
- Overlay now scrollable with action buttons below card
Character/person page support:
- Add @match rules for /ep/*, /character/*, /person/*
- Show character/person image panel with name + career badge in card header
- Rakuen character pages: fetch CV and work names via Bangumi API v0
- Rakuen/regular person pages: fetch role tags via /v0/persons/{id}/characters,
fallback to /v0/persons/{id}/subjects with 44-role staff priority ordering
- Person career badge sourced from API career field with careerMap translation
- No-image fallback: render name + badge + divider without image panel
- Deduplicate subject tags by both subject id and staff role
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Temporarily hides .forum_category elements before extracting innerText to
prevent third-party plugin components from appearing in the card body.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
New userscript for Bangumi topic pages. Generates a styled share card via
html2canvas, with icon buttons to copy image to clipboard, download image,
copy share text, or close the overlay. Button placement moved to the stable
#columnInSubjectB sidebar to avoid conflicts with other components.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>