Greasy Fork is available in English.
将 YouTube 链接重写为使用 FreeTube 协议处理程序,以便在本地 FreeTube 应用程序中打开。确保点击时当前页面保持不变。
当前为
This userscript automatically rewrites all YouTube links on webpages – including on YouTube.com itself – to use the FreeTube protocol (freetube://), ensuring they open directly in your locally installed FreeTube application upon clicking. It fully handles YouTube's dynamic SPA structure, navigations, direct video loads, and dynamically added links by triggering the protocol and preventing browser navigation. Clicks on links leave the current page unchanged; direct navigation to a YouTube video blanks the page after launching FreeTube. Supports videos, shorts, live streams, playlists, and channels. Ideal for privacy-focused users preferring YouTube content in FreeTube without tracking or ads. Requirement: FreeTube must be installed with a properly registered protocol handler.