您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Go back to the channel where you were a few minutes after a raid
// ==UserScript== // @name Twitch Un-raid // @version 1.5.3 // @description Go back to the channel where you were a few minutes after a raid // @author raianwz // @namespace https://gf.qytechs.cn/users/425245 // @match *://twitch.tv/* // @include *://www.twitch.tv/* // @exclude *://*.twitch.tv/videos/* // @exclude *://*.twitch.tv/*/video/* // @exclude *://*.twitch.tv/embed/* // @exclude *://*.twitch.tv/popout/* // ==/UserScript== (function() { var delayBeforeRedirect = 1000 * 60 * 3 // 3 minutes delay to Redirect var delayBeforeRecheck = 1000 * 60 * 3 // 3 minutes delay to Check URL function goBackChannel(){history.back()} function checkPage(){ if(window.location.href.includes('?referrer=raid')){ setTimeout(goBackChannel, delayBeforeRedirect); // redirect in 3 minutes }else{ setTimeout(checkPage, delayBeforeRecheck); // check again in 3 minutes } } console.log('Twitch Unraid is enabled') setTimeout(checkPage, 3*1000); // check page 3 seconds after load })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址