Twitch - Keep Tab Active

Prevents Twitch from auto-pausing or throttling video when the tab is inactive

이 스크립트를 설치하려면 Tampermonkey, Greasemonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램을 설치해야 합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Userscripts와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 유저 스크립트 관리자 확장 프로그램이 필요합니다.

(이미 유저 스크립트 관리자가 설치되어 있습니다. 설치를 진행합니다!)

Advertisement:

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

(이미 유저 스타일 관리자가 설치되어 있습니다. 설치를 진행합니다!)

Advertisement:

작성자
Vikindor
일일 설치 수
0
총 설치 수
469
평점
1 0 0
버전
1.1.3
생성일
2025-10-27
갱신일
2026-04-10
크기
5.94KB
라이선스
GPL-3.0
적용 사이트

Twitch - Keep Tab Active

Userscript for browsers that prevents Twitch from auto-pausing/muting or throttling playback when the tab is inactive.
It fakes visibility/focus, guards programmatic pauses (only user-initiated pauses are allowed), keeps the player “in view” for observers, automatically recovers interrupted streams, and sends light activity pings so streams keep playing.

Particularly useful for those who like to farm Twitch Drops or keep streams running in the background without interruptions.


💥 New: This userscript is also available as part of Twitch Enhancer, a browser extension for Chrome and Firefox that combines it with other Twitch quality-of-life improvements.
Learn more: Twitch Enhancer


✨ Features

  • Keeps Twitch streams playing in background tabs.
  • Prevents auto-pause and auto-mute when switching tabs.
  • Fakes visibility and focus so Twitch thinks the tab is active.
  • Automatically clicks Start Watching when opening a new stream.
  • Automatically resumes playback after stream interruptions or restarts (raids, reconnects, network errors).
  • Sends light activity signals to avoid idle timeouts.

⚙ How it works (high-level)

  • Pretends the tab never goes background by spoofing visibility/focus APIs.
  • Blocks Twitch’s internal events that detect when you switch tabs.
  • Allows only real user gestures to pause playback — everything else is auto-resumed.
  • Automatically clicks the player to recover playback after interruptions.
  • Keeps the player “visible” to page observers.
  • Periodically sends harmless activity signals to prevent idle triggers.
  • Tries to use navigator.wakeLock('screen') when supported.

⚠️ Notes & Limitations

  • While this script works reliably for most cases, it may not yet cover all edge situations or browser variations. If you encounter a specific case where it doesn’t behave as expected — feel free to contact me and share the details.
  • Focuses purely on client-side behavior — it doesn’t bypass server-side throttling, ads, or access restrictions.
  • May behave differently with extensions that modify Twitch’s player or tab activity.
  • Twitch frequently updates their SPA — if something breaks, please report it.