您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Adds playlist links to the rewind entries
// ==UserScript== // @name TGR Rewind playlist link // @namespace http://armeagle.nl // @description Adds playlist links to the rewind entries // @include http://complete.gamingradio.net/modules/mod_rewind/player.php?recidx=* // @include http://*eve-radio.com/modules/mod_rewind/player.php?recidx=* // @version 0.0.1.20140705065008 // ==/UserScript== try { var player = document.getElementsByTagName('object')[0]; var urlparam = player.getElementsByTagName('param')[0]; if ( urlparam.getAttribute('name') != 'fileName' ) { alert("GMscript error: didn't find the right parameter."); } else { var url = urlparam.getAttribute('value'); var ahref = document.createElement('a'); ahref.setAttribute('href', url); ahref.setAttribute('style', 'color: white; margin-left: 10px;'); ahref.textContent = url; var body = document.getElementsByTagName('body')[0]; body.insertBefore(ahref, body.childNodes[0]); body.insertBefore(document.createElement('br'), body.childNodes[0]); } } catch (e) { alert("GMscript exception: "+ e); }
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址