Greasy Fork

8chan sounds player

Play that faggy music weeb boi

目前为 2025-04-21 提交的版本。查看 最新版本

作者
soundboy_1459944
评分
0 0 0
版本
(2.3.0)_1.0
创建于
2025-04-21
更新于
2025-04-21
大小
135.3 KB
许可证
CC0 1.0
适用于

8CHAN SOUND PLAYER

this script is a fork of 4chan sounds player 2.3.0: https://github.com/rcc11/4chan-sounds-player adapted to work on 8chan

8chan Sounds Player userscript adds a music/sound player to 8chan threads that can play audio files linked in posts. Here's what it does:

  1. Detects sound links in posts (formatted like [sound=URL] in filenames)
  2. Adds play buttons next to detected sound files
  3. Creates a player interface with:
  • Play/pause/skip controls
  • Volume adjustment
  • Playlist of detected sounds
  • Progress bar and timestamps
  • Adds navigation buttons in both Header menu and Thread footer
  • Problems:

    8chan's Content-Security-Policy blocks CatBox links.
    On Firefox this can by bypassed by putting // @sandbox JavaScript in the header but this solution doesn't work for Chrome.
    You can make it work on Chrome by installing a Disable Content-Security-Policy browser extension.
    https://chromewebstore.google.com/detail/disable-content-security/ieelmcmcagommplceebfedjlakkhpden

    Bugs:

    - Scripts that heavily edit CSS break this script. (I think the problem might be truncation of the filename but idk for sure)