您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Extracts Download Links From Songs.Nghmat
// ==UserScript== // @name Songs.Nghmat Download Links Extractor // @namespace DevelopmentSimplyPut(developmentsimplyput.blogspot.com) // @description Extracts Download Links From Songs.Nghmat // @include *songs.nghmat.com* // @require http://code.jquery.com/jquery-latest.min.js // @version 0.0.1.20141023133834 // ==/UserScript== setTimeout(function(){ Run(); }, 0); function Run() { var urls = new Array(); $("div[class=song_div] table tbody tr").find("td:eq(2) a").each(function(index, value) { urls.push(('http://songs.nghmat.com/' + $(value).attr("href")).replace('com//', '.com/')); }); $('body').prepend("<span style='direction:ltr;display:block;width:100%;height:60px;color:blue;background:red;'><textarea cols='100'>" + urls.join(' ') + "</textarea></span><br />"); }