38 Commits

Author SHA1 Message Date
Stardream c0d4d34b41 chore: reorganize scripts into named subdirectories
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-26 04:24:37 +10:00
Stardream 5d3ada5b47 feat(Bangumi_Topic_Share): add timeline blog/collection/reply share support and fix CJK rendering, bump version to 6.2
- Add share buttons and cards for timeline blog (日志) items via page fetch
- Add share buttons for timeline 吐槽 and 收藏 reply items
- Collection reply card matches main collection card style (subject cover + nested replies)
- Add via (web/mobile/app) display in timeline card postTime
- Fix blog single-subject card: title/text copy was using subject name instead of blog title
- Fix collection timeline text copy URL pointing to timeline instead of subject page
- Collection text copy: title now "{user}的收藏 - {subject}", link points to status entry page
- Status page (/timeline/status/*): detect 吐槽 vs 收藏 and render appropriate card/text copy
- Fix collection status tag trailing "了" (搁置了 → 搁置)
- Fix html2canvas CJK full-width punctuation overlap by wrapping brackets as inline-block spans
- Fix blog card content-box using <p> auto-closed by nested <div> (changed to <div>)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 23:57:24 +10:00
Stardream 7bd220e688 feat(Bangumi_Topic_Share): multiple fixes and improvements, bump version to 6.1
- NSFW episode fallback: parse h2.title for ep number/name, extract subject from DOM
- Fix share button incorrectly inserted into #timeline items
- Fix AI config section right padding too wide
- Open OAuth auth in centered popup window instead of new tab
- Fix strikethrough not visible in card screenshot (iframe CSS override)
- Limit card content images to 3, show omitted count tip

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-23 19:16:23 +10:00
Stardream 8501c5683e feat(Bangumi_Topic_Share): add OAuth-backed share cards for collections, subject comments, and lists, bump version to 6.0
Core new features:

- Add Bangumi OAuth flow with token storage, refresh, menu commands, and settings-panel auth controls

- Move optional AI tag configuration into GM storage and expose it in the customize-panel settings tab

- Add full /subject/* matching plus subject metadata extraction and API fallback for NSFW-limited data

- Preserve richer HTML when truncating card content, including quote and inline formatting

- Limit ordinary content images in cards to avoid overly tall share images while keeping emoji/stickers inline

Collection and comment sharing:

- Add share cards for subject comment rows with API-enriched user rating, tags, and collection timestamps

- Add share cards for collection member pages and user browser list comments across anime/music/game/real/book lists

- Add share cards for the current user's collection comment from the subject collection panel

- Reuse subject covers, subject types, collection statuses, user tags, and infobox-derived fallback tags

Card rendering refinements:

- Add subject/blog topic title handling so single-subject blog cards promote the subject as the main title

- Improve nested reply layout, rating display, cover-image spacing, and API fallback notices

- Carry quote/body/link styling into the isolated iframe capture and improve spoiler mask overlay alignment

- Expand injected share buttons and mutation observers for subject comments, collection pages, browser lists, and Rakuen frames
2026-04-23 00:06:03 +10:00
Stardream f21f59d50e fix(Bangumi_Topic_Share): fix share button injected into sliderContainer, bump to 5.4
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-22 03:56:56 +10:00
Stardream 3dce60c351 fix(Bangumi_Topic_Share): fix link color and image gradient edge artifacts, bump version to 5.3
- Fix link color regression: query content-area links first to avoid inheriting nav link colors
- Add guard against transparent/invalid computed color values
- Fix image overlay gradient edge lines in html2canvas: use rgba(x,x,x,0) instead of transparent, extend overlay 1px beyond image edges, remove overflow:hidden

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-22 03:34:27 +10:00
Stardream 2e7c49f7fc feat(Bangumi_Topic_Share): add API-based episode page support with cover image, episode name, and subject tag
- 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>
2026-04-22 03:13:12 +10:00
Stardream 943fb422cf chore(Bangumi_Topic_Share): bump version to 5.1
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-22 03:07:18 +10:00
Stardream cf49c8f348 fix(Bangumi_Topic_Share): fix screenshot link color/decoration, hidden elements leaking into capture, and spoiler mask alignment
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-22 02:58:32 +10:00
Stardream d606df2451 Merge remote-tracking branch 'origin/main' 2026-04-22 02:29:46 +10:00
Stardream 477d7863b3 chore(Bangumi_Topic_Share): update script authorship
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-22 02:28:38 +10:00
Stardream c78ff1b011 Merge pull request #2 from STRDM-User/master
feat(Bangumi_Topic_Share): major rewrite with reply sharing, API tags…
2026-04-22 02:26:05 +10:00
Stardream 682b253125 feat(Bangumi_Topic_Share): major rewrite with reply sharing, API tags, and character/person page support, bump version to 5.0
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>
2026-04-22 02:25:19 +10:00
Stardream 712828c2a9 feat(Bangumi_Topic_Share): add subject/topic/* match and blog entry support, bump version to 4.13
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 19:29:36 +10:00
Stardream 998d77382f feat(Bangumi_Topic_Share): add blog entry support with related subjects as tags, bump version to 4.12
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 19:08:54 +10:00
Stardream 27797d81ea feat(Bangumi_Topic_Share): add Rakuen support via outer-frame iframe monitoring, fix share button placement to main post actions bar, use inline SVG share icon, bump version to 4.11
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 18:36:58 +10:00
Stardream 4cea895013 fix(Bangumi_Topic_Share): trim bottom transparent strip and exclude catfish plugin content, bump version to 4.10
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 06:01:31 +10:00
Stardream b9ed944fa0 Merge pull request #1 from STRDM-User/master
Fix extra whitespace in screenshot and bump version to 4.9
2026-04-21 05:33:02 +10:00
Stardream be507ee72f fix(Bangumi_Topic_Share): fix extra whitespace on right/bottom of screenshot, bump version to 4.9
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 05:31:27 +10:00
Stardream 4676b97acf fix(Bangumi_Topic_Share): use isolated iframe for capture to fix Chrome screenshot hang, bump version to 4.8
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 05:21:41 +10:00
Stardream bb6d42cde5 fix(Bangumi_Topic_Share): reduce capture area padding to minimize screenshot border, bump version to 4.7
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 04:14:15 +10:00
Stardream 4b1dd38d76 feat(Bangumi_Topic_Share): add animated custom tooltip for action buttons, bump version to 4.6
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 04:09:36 +10:00
Stardream 3ceaa89cf8 feat(Bangumi_Topic_Share): replace static tags with dynamic group name and reply count, bump version to 4.5
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 03:53:58 +10:00
Stardream 7d6fdcfc83 fix(Bangumi_Topic_Share): fix repeated screenshot failure caused by Live2D WebGL canvas and bump version to 4.4
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 03:04:41 +10:00
Stardream 2624c729af style(Bangumi_Topic_Share): unify light/dark card styles and bump version to 4.3
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-20 21:13:34 +10:00
Stardream de7fd91875 chore(Bangumi_Topic_Share): bump version to 4.2
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-20 20:47:16 +10:00
Stardream 4f4951bec7 feat(Bangumi_Topic_Share): add dark theme support for share card
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-20 20:45:42 +10:00
Stardream 007c069983 chore(Bangumi_Topic_Share): bump version to 4.1
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-20 19:47:16 +10:00
Stardream 1330f6a58b fix(Bangumi_Topic_Share): exclude .forum_category elements from share card content
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>
2026-04-20 18:49:24 +10:00
Stardream abc4c4a263 feat(Bangumi_Topic_Share): add share card script with copy/download/text actions
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>
2026-04-20 18:28:51 +10:00
Stardream 93f100b7bf docs: add @author field to VGMdb Album Downloader
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-21 16:10:48 +10:00
Stardream 70f7f1f49c feat(U2_FL_Helper): add Chinese language support for promotions display
- Also match "有效" (zh) in addition to "Effective" (en) when filtering
  active promotions
- Translate "Ongoing promotions" label to "进行中的优惠" on Chinese pages
- Bump version to 0.2, add @contributor Stardream

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-21 16:03:58 +10:00
Stardream a699b53e41 feat(stress_test): replace hardcoded config with interactive prompts
All parameters (URL, concurrency, total requests, timeout, rate limit,
log file, stop keywords) are now collected at startup via stdin.
Target URL is required with no default; other params retain sensible
defaults. Remove hardcoded target URL from source.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-21 10:57:25 +10:00
Stardream 0c05e8845b docs: add English translation to @description metadata
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-21 10:37:00 +10:00
Stardream 11605dad50 feat(zip): place images inside Scans/ folder in archive
Files are now stored as Scans/<filename> instead of being placed
directly in the ZIP root, producing a cleaner folder structure
on extraction. Bump version to 2.9.4.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-21 10:34:41 +10:00
Stardream a227f923ea Merge branch 'main' of github.com:STRDM-User/script 2026-03-21 10:27:35 +10:00
Stardream 0fd888d17c feat: add VGMdb Album Downloader userscript v2.9.3
Tampermonkey userscript for vgmdb.net that enables:
- Single image download with GM_download
- Batch download as ZIP package (JSZip)
- Real-time progress display
- Auto image renaming
- Bilingual UI (zh/en)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-21 10:25:20 +10:00
Stardream 716add0667 Initial commit 2026-03-19 11:48:22 +10:00