您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
change video info simple
当前为
// ==UserScript== // @name simple youtube detail statistics info // @name:zh-CN simple youtube detail statistics info // @namespace http://tampermonkey.net/ // @version 0.2.2 // @description change video info simple // @description:zh-cn only video load info // @author Semi @wechat:wxsmcg // @match *://*.youtube.com/* // @include https://www.youtube.com* // @grant none // @require http://code.jquery.com/jquery-1.11.0.min.js // ==/UserScript== var $, jQuery; $ = jQuery = window.jQuery; // (function() { 'use strict'; // var tt1 = setInterval(function(){ //console.log('TIMER'); if($(".html5-video-info-panel-content").length){ clearInterval(tt1); var list = $(".html5-video-info-panel-content>:not(div[style='display: none;'])"); // filter //console.log("len",list.length); // find element var index = [1,2,3,4,5,6,10]; $(list).each(function(i,e){ // this i start 0 (search ) //console.log(i+1,$.inArray(i,index)); if( $.inArray(i+1,index)!=-1 ){ $(list[i]).css({"display":"none","visibility":"hidden"}); } }); $(list[5]).find('div').css("color","#000"); $(list[5]).find('span').remove(); } },1000); })();