Back to browse
GitHub Repository

A lightweight, extension-free script to prevent YouTube Music from pausing.

2 starsJavaScript

YTM Keep-Alive –A lightweight bookmarklet to bypass YouTube music pause

by erysngl·Feb 20, 2026·1 point·0 comments

AI Analysis

MidShip It

Circumvents CSP to beat YouTube's pause prompt, but fixes a service limitation instead of enabling something new.

Strengths
  • Clever DOM-based CSP bypass using createElement instead of innerHTML
  • Simple one-click installation via draggable bookmarklet
  • Works extension-free, keeping browser lightweight
Weaknesses
  • Solves YouTube Music's annoyance rather than a developer or creator problem
  • No differentiation from existing userscript solutions on GreasyFork or Tampermonkey
  • Single-purpose utility with limited generalizability
Target Audience

YouTube Music users and browser automation enthusiasts

Similar To

Tampermonkey userscripts · GreasyFork YouTube Music mods · Browser extension alternatives like Enhanced for YouTube

Post Description

I created this simple bookmarklet because I was tired of the "Video paused. Continue watching?" prompt on YouTube Music.

The challenge was YouTube's strict Content Security Policy (CSP) and TrustedHTML requirements, which break most innerHTML based scripts. I built this using pure DOM elements (document.createElement) to bypass these restrictions natively without needing a heavy browser extension.

It's open-source and features a draggable UI. I'd love to hear your thoughts on the code and the approach!

Similar Projects

EducationPass

The Musical Manifold [pdf]

NotebookLM-generated music theory PDF—content, not a tool.

ersinesen
242mo ago