Twitch Usercard Redirect

9/4/2023, 10:28:58 PM

目前為 2023-09-05 提交的版本,檢視 最新版本

// ==UserScript==
// @name        Twitch Usercard Redirect
// @namespace   Violentmonkey Scripts
// @match       https://www.twitch.tv/popout/*/viewercard/*
// @grant       none
// @version     1.0
// @author      Ltrademark
// @icon        https://www.google.com/s2/favicons?sz=64&domain=twitch.tv
// @description 9/4/2023, 10:28:58 PM
// ==/UserScript==

let urlPaths = window.location.pathname.replace('/popout/', ''),
    cleanPaths = urlPaths.replace(/\//g, ' ').split(' ');
let channel = cleanPaths[0],
    username = cleanPaths[2];

let rustLogRoot = 'logs.ivr.fi';

let newUrl = `https://${rustLogRoot}/?channel=${channel}&username=${username}`;

window.location.replace(newUrl)

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址