Greasy Fork

Greasy Fork is available in English.

8chan sounds player

Play that faggy music weeb boi

当前为 2025-04-24 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
soundboy_1459944
评分
0 0 0
版本
2.3.0_0003
创建于
2025-04-21
更新于
2025-04-24
大小
156.1 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) that has been adapted to work on 8chan.

The 8chan Sounds Player userscript adds a sound player to 8chan threads, allowing you to play audio files linked in the filenames. Additionally, it has been expanded to support the playback of all webm and mp4 files. Here's what it does:

  1. Fetches all files that have audio links in their filename (formatted like [sound=URL]) and all other webm/mp4 files
  2. Creates a player interface with:
  • Play/pause/skip controls
  • Volume adjustment
  • Playlist
  • Progress bar and timestamps
  • Adds navigation buttons in both Header menu and Thread footer
  • Quirks:

    8chan's Content-Security-Policy blocks CatBox links.
    On Firefox this can by bypassed by inserting  // @sandbox JavaScript  in the header, but this solution does not work in Chrome.
    You can get this script working in Chrome by installing the Disable Content-Security-Policy web browser extension.
    https://chromewebstore.google.com/detail/disable-content-security/ieelmcmcagommplceebfedjlakkhpden

    Bugs:

    - if any other script messes with the html too much (for example, truncation of filenames), the script will not work
    - videos with chroma subsampling in YUV444 format will not play, only its audio will be played (firefox only)
    - poorly encoded videos will throw  Media resource could not be decoded, error: Error Code: NS_ERROR_DOM_MEDIA_METADATA_ERR , but might play anyway (firefox only)