Always Active Kick (Updates Sidebar in background tabs)

Keeps Kick tab as always active even when in background tabs. This allows you to keep favorite streamer page open in background tab and it willl automatically start playing when live. Also keeps the sidebar dynamically updating even if the tab is the in the background.

// ==UserScript==
// @name          Always Active Kick (Updates Sidebar in background tabs)
// @namespace     https://greasyfork.dpdns.org/en/users/1200587-trilla-g
// @match       *://*.kick.com/*
// @description   Keeps Kick tab as always active even when in background tabs. This allows you to keep favorite streamer page open in background tab and it willl automatically start playing when live. Also keeps the sidebar dynamically updating even if the tab is the in the background. 
// @version        3.0
// @license         MIT
// @author          Trilla_G
// ==/UserScript==



// Try to set the document's visibilityState directly
Object.defineProperty(document, 'hidden', { value: false, writable: false });
Object.defineProperty(document, 'visibilityState', { value: 'visible', writable: false });

长期地址
遇到问题?请前往 GitHub 提 Issues,或加Q群1031348184

赞助商

Fishcpy

广告

Rainyun

注册一下就行

Rainyun

一年攒够 12 元