NOTICE: By continued use of this site you understand and agree to the binding مەرجەکانی خزمەتگوزاری and سیاسەتی پاراستنی نهێنی.
Install steps: Install a userscript manager, select Install, then open a website matched by the script.
The following figures come from the original source and are separate from activity on this site.
Original script: Twitch Essentials: Auto-Close + Ad Block + Anti-Pause
Source version: 4.3.0
Last source check:
Last successful check:
Requests received by this site are not proof that a user completed installation.
Clicking Install records a request on this site; it does not confirm installation. Not working after install? View troubleshooting and issues
Twitch Essentials: Auto-Close + Ad Block + Anti-Pause
Author: DEMOTAPE | Version: 3.0 | Updated: March 2026
📝 Description
The ultimate all-in-one toolkit for Twitch. Automatically closes the annoying "Back to Live" popup, blocks ads without breaking your stream (no black screens!), and prevents the player from pausing when you switch tabs. Lightweight, fast, and works in every language.
✨ Features
Table
Feature What It Does
🎯 Auto-Close Popups Instantly clicks "Back to Live" buttons in any language (English, Portuguese, Japanese, etc.)
🛡️ Smart Ad Block Removes ads surgically without reloading the player — no infinite loading loops or black screens
🔄 Background Playback Keeps stream playing when you switch tabs (overrides visibility API)
🧠 Intelligent Detection Uses text + icon analysis to avoid clicking wrong buttons (like "Create Clip")
⚡ Zero Lag ~15KB, no dependencies, activates only after stream loads
🔒 Safe & Stable Built-in cooldowns prevent spam and accidental interactions
🚀 How to Install
Install Tampermonkey extension (Chrome/Firefox/Edge)
Click "Create new script" and delete the default template
Paste the entire code
Press Ctrl+S to save
Done! Open any Twitch stream and enjoy uninterrupted viewing
🎯 How It Works
1. Popup Detection
Watches for the "Back to Live" overlay using MutationObserver, validates the button via keywords ("live", "back", "voltar", "戻る") + play icon, then clicks with a 3-second safety cooldown.
2. Ad Interception
Hooks into Twitch's Web Workers and intercepts M3U8 playlists. When stitched ad segments are detected, replaces them with empty 1-second frames. Activates 5 seconds after page load to ensure smooth startup.
3. Anti-Pause
Overrides document.visibilityState and document.hidden so the player thinks your tab is always active. Watch streams while working in other tabs without auto-pause.
⚙️ Configuration (Optional)
Edit the CONFIG section at the top of the script:
JavaScript
Copy
const CONFIG = {
DEBUG: false, // Console logs for troubleshooting
ENABLE_AD_BLOCK: true, // Toggle ad blocking on/off
ANTI_PAUSE: true, // Toggle background playback
CHECK_INTERVAL: 1000, // How often to check for popups (ms)
CLICK_COOLDOWN: 3000 // Delay between clicks (prevents spam)
};
🐛 Troubleshooting
Table
Problem Solution
Black screen on load Normal — AdBlock waits 5s for stream to initialize. Refresh if persists.
Still seeing ads Disable other Twitch ad blockers to avoid script conflicts.
Popup not closing Check if your language is supported (all major languages included).
Stream pauses on tab switch Ensure ANTI_PAUSE: true in config.
📜 License & Credits
MIT License — Free to use, modify, and share.
Created by DEMOTAPE | Report Issues | Source Code
Works with all Twitch channels. No account access required. 100% client-side.
هەڵسەنگاندن: 0