YouTube → FreeTube Link Rewriter

Rewrite YouTube links to use the FreeTube protocol handler for opening in the local FreeTube application. Ensures the current page remains unchanged upon clicking.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Opus-X
今日安裝
0
安裝總數
4
評價
0 0 0
版本
1.01
建立日期
2025-12-21
更新日期
2025-12-21
尺寸
8.1 KB
授權條款
MIT
腳本執行於
所有網站

YouTube → FreeTube Link Rewriter

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.