您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
try to take over the world!
当前为
// ==UserScript== // @name 清酒踏月在线音乐播放器美化 // @namespace http://tampermonkey.net/ // @version 0.2.6 // @description try to take over the world! // @author AN drew // @match http://music.lkxin.cn/ // @grant none // ==/UserScript== (function() { 'use strict'; $("a").each(function(){ if($(this).attr("title")!=undefined && ($(this).attr("title").indexOf("上一首") > -1 || $(this).attr("title").indexOf("暂停/继续") > -1 || $(this).attr("title").indexOf("下一首") > -1 || $(this).attr("title").indexOf("循环控制") > -1 || $(this).attr("title").indexOf("静音") > -1 )) return true; else if($(this).parent().prop("tagName")=="li") return true; else $(this).attr("style","display:none") }) $("span").each(function(){ if($(this).attr("title")!=undefined && ($(this).attr("title").indexOf("音乐播放列表") > -1 || $(this).attr("title").indexOf("点击搜索音乐") > -1 || $(this).attr("title").indexOf("更多") > -1)) return true; else $(this).attr("style","display:none") }) $(".dropdown-toggle").css({"display":"block","color":"white"}) $(".dropdown-toggle").text("快捷键") $(".dropdown-toggle").attr("title","快捷键") $(".dropdown").parent().attr("title","快捷键") for(var i=0; i<7; i++) $(".dropdown-menu").children().first().remove() $(".dropdown-menu").find("a").each(function(){ $(this).attr("style","display:block") if($(this).text().indexOf("电脑操作快捷键")>-1) $(this).css({"text-align":"center","background":"#f5f5f5"}) }) $(".logo").attr("style","display:none") $(".marquee").attr("style","display:none") $(".mask").attr("style","display:none") $(".pcd_ad").attr("style","display:none") $(".mbd_ad").attr("style","display:none;visibility:hidden;") // Your code here... })();