Play YouTube videos ad-free using an iframe embed served from localhost
目前為
Play YouTube videos ad-free using an iframe embed served from localhost
script.user.js with a userscript manager or from Greasy Fork.index.html on localhost:8823 using a local web server, e.g. run python -m http.server 8823 in the project directory.Note: The server must be running whenever you use YouTube with this script enabled.
This script is designed to be minimally invasive, overlaying the localhost iframe on top of the original player.
Use YouTube as normal with the exception of playlists. Switch videos by clicking the playlist icon inside the player instead of the YouTube playlist sidebar to avoid reloading the page.
Playlists:
Video Info: