您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
twicasサポートリストのアイコン・ユーザー名クリック時にプロフィールを表示せずにライブページを直接開く
// ==UserScript== // @name TwitCasting Link Fix // @namespace http://tampermonkey.net/ // @version 1.02 // @description twicasサポートリストのアイコン・ユーザー名クリック時にプロフィールを表示せずにライブページを直接開く // @author RIE_0924 // @homepage https://github.com/rie0924/TwitCasting-Link-Fix // @match https://twitcasting.tv/* // @icon https://raw.githubusercontent.com/rie0924/TwitCasting-Link-Fix/main/twitcas_bigger_1.png // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; // アイコン・ユーザー名をライブページへのリンクに変更 function bindLiveLinks(parent = document) { parent.querySelectorAll('.tw-user-name-icon, .tw-supporter-user-name').forEach(a => { if (a.dataset.bound) return; // 二重バインド防止 a.dataset.bound = 'true'; a.addEventListener('click', e => { e.preventDefault(); e.stopPropagation(); const href = a.getAttribute('href'); if (!href) return; setTimeout(() => window.open(href + '/live', '_blank'), 50); }); }); } // 初期バインド bindLiveLinks(); // 動的追加要素にも対応 const observer = new MutationObserver(mutations => { mutations.forEach(m => { m.addedNodes.forEach(node => { if (node.nodeType === 1) bindLiveLinks(node); }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址