您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Replaces the original download button with one that directly downloads the mp3 file using a server-side proxy. Adds download notification and customizable filename. Compatible with Chromium, Firefox, and WebKit.
当前为
This script enhances your Samplefocus experience by replacing the standard download button with a direct download link, facilitating easy retrieval of audio samples.
Key Features:
Direct MP3 Download: Bypasses Samplefocus's original download mechanism, directly downloading the audio file.
Server-Side Proxy Requirement: Note that this script requires a local server running at http://localhost:3000/download
to work. This server will handle the actual download process.
Customizable Filename: Prompts you to enter a desired filename before initiating the download.
Download Notification: Provides a simple alert to confirm that the download has started.
Cross-Browser Compatibility: Designed to function seamlessly across Chromium, Firefox, and WebKit-based browsers.
How to Use:
Install this script via Greasyfork.
Crucially, you must set up a local server. You can do this easily by using the provided GitHub repository: https://github.com/toxikbiohazard/audio-file-downloader. Follow the instructions in the repository to get the server running.
Navigate to a Samplefocus page with an audio sample.
The original download button will be replaced with a "Download Sample" button.
Click the new button, enter your desired filename, and the download will begin.
Important Notes:
This script relies on a local server. If the server is not running, the download will fail.
The server side implementation is provided in the linked github repo.
This script is provided as-is, without any warranty. Use it at your own risk.