您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
Remove VODCASTS from following page
当前为
// ==UserScript== // @name Twitch VODCAST remover // @namespace http://maxbrown.dk // @version 0.3 // @description Remove VODCASTS from following page // @author Max Brown // @match https://www.twitch.tv/directory/following // @grant none // @require https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js // ==/UserScript== (function() { 'use strict'; $(document).ready(function() { var maxTry = 200; // 20 secounds var i = 0; var inVal = setInterval(function() { if ($(".pill").length) { $(".pill").each(function(i,v) { if ($(v).text().toLowerCase() == "vodcast") { $(v).parent().parent().parent().parent().parent().remove(); } }); } if (i == maxTry) { clearInterval(inVal); } i++; }, 100); }); })();