SponsorBlock Lite - 自动跳过 YouTube/Bilibili 赞助内容

基于 SponsorBlock API 自动跳过 YouTube 和 Bilibili 视频中的赞助片段

这些是此脚本变更过代码的版本。 显示所有版本。

  • v1.1.1 2026-01-03
  • v1.1.0 2026-01-03

    V1.1.0

    New Features

    • Bilibili Support: Added support for Bilibili video platform (bilibili.com)
      • Fetches sponsor segments from BilibiliSponsorBlock API (bsbsb.top)
      • Automatic segment skipping works the same as YouTube
      • Preview bar displays segments on Bilibili's progress bar
      • Category pill shows full-video labels on Bilibili

    Technical Changes

    • Platform Detection: Script now detects YouTube vs Bilibili and uses appropriate API endpoint

    • Video ID Extraction: Added Bilibili BVID extraction from URL patterns:

      • /video/BVxxxxxxxxxx
      • /BVxxxxxxxxxx
      • ?bvid=BVxxxxxxxxxx
    • UI Selectors: Added Bilibili-specific selectors for:

      • Video element (.bpx-player-video-area video)
      • Progress bar (.bpx-player-progress-wrap)
      • Title container for category pill
    • CSS: Added Bilibili-specific styles for preview bar and category pill

    Metadata

    • Updated @match to include https://*.bilibili.com/video/*
    • Added @connect bsbsb.top for API access
    • Updated localized names and descriptions to mention Bilibili support
  • v1.0.2 2025-12-31
  • v1.0.1 2025-12-31
  • v1.0.0 2025-12-31