Forwards YouTube links to the youtube.com/embed/* page, so there's just the video in your window and nothing else.
這裡只顯示彼此間有代碼差異的版本。 顯示所有版本。
Changed the redirect URL to use "youtube-nocookie.com" instead (an official YouTube domain) because normal YouTube keeps breaking shit to force people to use the webiste. This seems to work (for now? sometimes?) though you may need to refresh the page if you still get an Error 153. If anyone knows a stronger way to fix it, let me know.
YouTube broke the referer method, so we have to go back to the blob/spoofpage method. This version now supports shorts and youtu.be links, and preserves timestamps like &t=12. But I'm not sure if the playlist thing works anymore.
Using a faster and cleaner method than the blob method for spoofing YouTube's new requirement for a referer.Now also preserves playlists.
YouTube changed how embeds work. They need referers now. This change spoofs the referer via a redirect page. I wish I knew how to get rid of the white screen flash though.
now works when url is "/watch?app=desktop&v=" (linked from google image search)