您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Enter a custom 7TV manifest url to use a non mainbranch 7TV version
// ==UserScript== // @name Custom 7TV version // @namespace http://tampermonkey.net/ // @version 1.2.0 // @description Enter a custom 7TV manifest url to use a non mainbranch 7TV version // @author Excellify // @match https://*.twitch.tv/* // @icon https://www.google.com/s2/favicons?sz=64&domain=7tv.app // @grant none // @license MIT // ==/UserScript== const CUSTOMURL = "https://extension.7tv.gg/manifest.stage.json"; (async function() { 'use strict'; let manifest; let seventv = {}; Object.defineProperty(window, "seventv", { get() { return seventv; }, set(v) { seventv = v if (!manifest) { console.warn("7TV extension loaded before script"); return } if (!v.host_manifest) v.host_manifest = {}; for (const [key, val] of Object.entries(manifest)) { v.host_manifest[key] = val; } v.hosted = true; } }) fetch(CUSTOMURL) .then((res) => res.json()) .then((m) => { manifest = m; console.log("Using custom 7TV version: ", m.version); }).catch((e) => { console.warn("Error getting custom 7TV version: ", e); }) })();