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.

  1. // ==UserScript==
  2. // @name Always Active Kick (Updates Sidebar in background tabs)
  3. // @namespace https://greasyfork.org/en/users/1200587-trilla-g
  4. // @match *://*.kick.com/*
  5. // @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.
  6. // @version 3.0
  7. // @license MIT
  8. // @author Trilla_G
  9. // ==/UserScript==
  10.  
  11.  
  12.  
  13. // Try to set the document's visibilityState directly
  14. Object.defineProperty(document, 'hidden', { value: false, writable: false });
  15. Object.defineProperty(document, 'visibilityState', { value: 'visible', writable: false });
  16.