您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Opens audio link from og:audio meta tag and copies to clipboard
English: This script enhances the Newgrounds audio listening page by adding a button that allows users to simultaneously open the audio file in a new tab and copy its URL to the clipboard. It extracts the audio URL from the `og:audio` meta tag and provides a convenient way to access and share the audio link. The script uses Tampermonkey's `GM_setClipboard` function for copying, with a fallback to the browser's native clipboard API if needed.
Español: Este script mejora la página de escucha de audio de Newgrounds añadiendo un botón que permite a los usuarios abrir simultáneamente el archivo de audio en una nueva pestaña y copiar su URL al portapapeles. Extrae la URL del audio de la etiqueta meta `og:audio` y proporciona una forma conveniente de acceder y compartir el enlace de audio. El script utiliza la función `GM_setClipboard` de Tampermonkey para copiar, con una opción de respaldo a la API nativa del portapapeles del navegador si es necesario.
Español:
🇺🇸 English Instructions | 🇪🇸 Instrucciones en Español |
|
|
Feature / Característica | Details / Detalles |
Meta Tag Parsing | Selects the `og:audio` meta tag to retrieve the audio file URL. |
DOM Manipulation | Creates and appends a button element to the page's body. |
Clipboard API | Uses `GM_setClipboard` (Tampermonkey) or `navigator.clipboard.writeText` for copying the URL. |
Window Management | Uses `window.open()` to open the audio URL in a new tab. |
Español:
✅ Compatible Browsers / Navegadores Compatibles | ✅ Required Extensions / Extensiones Requeridas |
Chrome, Firefox, Edge, Opera (Browsers supporting userscripts, meta tag parsing, and clipboard APIs) | Tampermonkey or similar userscript manager (Required for script execution) |
Open your userscript manager (e.g., Tampermonkey), find "Open Audio and Copy URL", and disable or delete it.
Método 1 - Gestor de Scripts: Abre tu gestor de userscripts (ej. Tampermonkey), busca "Open Audio and Copy URL" y desactívalo o elimínalo.
You can edit the script and comment out or remove the lines that create and add the button to the page.
Método 2 - Eliminar Código del Script: Puedes editar el script y comentar o eliminar las líneas que crean y añaden el botón a la página.
Español:
Easily open and copy audio links from Newgrounds with just one click!
¡Abre y copia fácilmente enlaces de audio de Newgrounds con solo un clic!
Author: YouTubeDrawaria | Version: 2025-08-25 | License: MIT
Support: Report issues in the comments below | Additional Info: Streamlines access to audio files on Newgrounds by opening and copying links.