您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
A full-page music player with a modern interface, including download buttons and time display. Credit to https://www.reddit.com/r/opendirectories/comments/1f3fxmu/inline_listning_to_music/ for the idea and base code.
当前为
Music Player for Open Directories
This script converts open directory listings into a full-page music player. It automatically detects audio files such as MP3, FLAC, OGG, and WAV on the page and presents them in an easy-to-use interface.
Features:
- Full-page music player layout
- Play, pause, previous, next, and random track controls
- Progress bar with current and total play time
- Download button for each track in the playlist
- Parent Directory button for easy navigation
Instructions:
1. Install a userscript manager like Tampermonkey in your browser.
2. Create a new userscript and paste this code into it.
3. Save the script and reload any open directory page with audio files.
4. Use the music player controls to play tracks or navigate through the playlist.
Notes:
- The player will only appear if audio files are detected on the page.
- The Parent Directory button lets you navigate back to the previous directory level.
Credit:
Based on the idea and code from https://www.reddit.com/r/opendirectories/comments/1f3fxmu/inline_listning_to_music/ .