您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Hide Reruns from the following page
当前为
// ==UserScript== // @name Twitch Rerun Hider // @namespace http://grh.se // @version 1.1.0 // @description Hide Reruns from the following page // @author Markus Persson // @include *://www.twitch.tv/* // @grant none // @require https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js // @comment Based upon the work of Max Brown, "Twitch VODCAST remover". // ==/UserScript== (function() { 'use strict'; $(document).ready(function() { var maxTry = 200; // 20 secounds var i = 0; var inVal = setInterval(function() { hideReruns(); if (i == maxTry) { clearInterval(inVal); } i++; }, 100); }); })(); function hideReruns() { // Good streams, they tag it as a rerun $(".stream-type-indicator--rerun").each(function(i, e) { $(e).parents(".tw-mg-b-2").hide(); }); // Mediocre streams, they don't tag it right but at least type it in the title... $(".stream-type-indicator--live").each(function(i, e) { if ($(e).parents(".tw-mg-b-2").find("h3").text().toLowerCase().includes("rerun")) { { $(e).parents(".tw-mg-b-2").hide(); } }); }
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址