If you love listening to immersive Disney park background music (BGM) and ambient audio sites like Sounds of Disneyland, you probably appreciate the nostalgia and relaxation they bring. But if you are like me, you have likely run into minor frustrations while using them, such as wanting a tiny floating window to multitask or a sleep timer for winding down.
Note: This project is an unofficial fan-made utility. It is not affiliated with The Walt Disney Company or the website operators. It does not download audio or files; it simply injects UI enhancements and controls directly into your browser.
In this article, I’ll share how I built SoundsOfDisneyland-Enhancer, why I chose a "No-Build, No-Extension" architecture using a single file named sounds-of-disneyland-enhancer.js, how modern Web APIs make it possible, and how you can start using it in seconds.
👉 GitHub Repository: https://github.com/gyeoul-s2/SoundsOfDisneyland-Enhancer
1. Developer Perspective: Why Vanilla JS and Modern Web APIs?
Document Picture-in-Picture mini-player floating at the bottom-left corner over another tab (author's GitHub page). Track info shown inside the player is from soundsofdisneyland.com.
As developers, we often default to heavy frameworks or browser extension manifests. For this project, I went back to basics with Vanilla JavaScript (sounds-of-disneyland-enhancer.js):
- Zero Build Steps, Zero Bloat: No bundlers, no node_modules, and no complex extension review processes. The script runs natively with complete transparency.
- Leveraging Cutting-Edge Web APIs: We utilize
window.documentPictureInPictureAPI to open an arbitrary HTML container in an always-on-top floating window, and the Media Session API for OS-level media controls.
2. Feature Deep Dive: What Makes This Enhancer Shine?
Enhanced control bar (PiP, fullscreen, sleep timer, favorite heart) and Favorites view injected onto soundsofdisneyland.com. All site designs and artwork belong to their respective owners.
- 🖼️ Document PiP Mini-Player: Pop out the player into a floating, resizable window using
window.documentPictureInPicturethat stays on top of all other windows. - 🌙 Sleep Timer: Set a countdown timer to automatically fade out and pause audio.
- ⭐ Favorites & JSON Export: Save favorite tracks into custom playlists and export/import them via JSON.
- 🔀 Random, Resume & Shortcuts: Enjoy shuffling, resuming playback, and global hotkeys.
3. Quick Start: 3 Ways to Run It
You don't need to install anything from a web store. The core logic resides in sounds-of-disneyland-enhancer.js.
Method 1: Tampermonkey (Userscript)
Since sounds-of-disneyland-enhancer.js already includes the proper ==UserScript== header at the top, you can set it up easily:
- Install the Tampermonkey extension (on Chrome, make sure to enable "Allow access to file URLs" or userscript permissions in
chrome://extensionsif required). - Create a new userscript, completely clear out the default template, and paste the full contents of
sounds-of-disneyland-enhancer.jsdirectly into the editor and save it.
Method 2: Bookmarklet (One-Click Execution)
- Create a new bookmark in your browser bar.
- Paste the following official snippet into the URL / Address field without changing a single character:
javascript:(async()=>{try{const r=await fetch('https://raw.githubusercontent.com/gyeoul-s2/SoundsOfDisneyland-Enhancer/refs/heads/main/sounds-of-disneyland-enhancer.js',{cache:'no-store'});if(!r.ok)throw new Error(r.status);(0,eval)(await r.text())}catch(e){alert('Enhancer failed to load: '+e.message)}})() - Click your bookmark on the target audio site to launch it instantly.
Method 3: Browser Console
- Open the target website and open Developer Tools (
F12). - Navigate to the Console tab, copy the entire code of
sounds-of-disneyland-enhancer.jsfrom the GitHub repository, paste it directly, and press Enter to execute.
4. Conclusion & Support the Project
Building SoundsOfDisneyland-Enhancer was a fantastic exercise in combining modern Web APIs, AI-assisted development, and clean vanilla JavaScript (sounds-of-disneyland-enhancer.js).
If you find this project useful, please consider giving the repository a Star (⭐) on GitHub!




