您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
simple button to download an mp3 from youtube
// ==UserScript== // @name YoutubeInMP3 // @namespace tag:[email protected],2015-08-27:YoutubeInMP3 // @description simple button to download an mp3 from youtube // @include https://www.youtube.com/* // @include https://youtube.com/* // @include http://www.youtube.com/* // @include http://youtube.com/* // @version 0.0.1.20150829204443 // ==/UserScript== setInterval(setSpawn, 4000); function setSpawn (){ var el = document.getElementById("action-panel-overflow-button"); el.addEventListener("click", addDlLink, false); } function addDlLink () { if (!document.getElementById('DLButton')) { var elmNewContent = document.createElement('a'); elmNewContent.id = 'DLButton'; elmNewContent.href = 'http://youtubeinmp3.com/fetch/?video='+encodeURIComponent(document.URL)+"&hq=1"; elmNewContent.appendChild(document.createTextNode('Download MP3')); var elmFoo = document.getElementById('watch7-views-info'); elmFoo.parentNode.insertBefore(elmNewContent, elmFoo); } else { var dlButton = document.getElementById('DLButton'); dlButton.parentNode.removeChild(dlButton); } }
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址