QQ音乐歌单获取所有歌名tempmonkey
csharp;gutter:true;
// ==UserScript==
// @name 歌名获取
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!</p>
<p>// @author You
// @match https://y.qq.com/musicmac/v6/playlist/detail.html*
// @icon https://www.google.com/s2/favicons?sz=64&domain=qq.com
// @grant none
// @require https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js
// ==/UserScript==</p>
<p>(function() {
'use strict';
function readName(){
console.log("测试·······························");
$(".songlist__name").each(function () {
console.log( "songlist__name0---------------------------------------");
});
$(".songlist__name > .mod_songname__cont>.mod_songname__name").each(function () {</p>
<pre><code> console.log( $(this).attr("title"));
});
};
$(document).ready(function(){
//隐藏文本
setTimeout(function(){readName();},2000);
console.log( "启动脚本。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。");
})
// Your code here...
</code></pre>
<p>})();
Original: https://www.cnblogs.com/jifeng/p/16477313.html
Author: 季枫
Title: QQ音乐歌单获取所有歌名tempmonkey
原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/546551/
转载文章受原作者版权保护。转载请注明原作者出处!