YouTube Archive Me Button

Adds an "Archive Me" button to YouTube video action panels that redirects to PreserveTube.com with the current video URL.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
Ghosty-Tongue
今日安裝
0
安裝總數
6
評價
0 0 0
版本
1.0
建立日期
2025-10-30
更新日期
2025-10-30
尺寸
3.7 KB
授權條款
MIT
腳本執行於

YouTube Archive Me Button

A simple, lightweight userscript that adds a dedicated "Archive Me" button next to the Like/Dislike controls on any YouTube video watch page, allowing for one-click preservation of the video's URL.

🗃️ Functionality

This script serves a single purpose: to help users quickly archive YouTube content using a third-party service.

When you click the new Archive Me button, the script immediately redirects your browser to: https://preservetube.com/save?url=[CURRENT_YOUTUBE_URL]

This is extremely useful for:

  • Preservation: Ensuring that video metadata and potential downloads are saved before a video is deleted or made private.

  • Speed: Eliminating the need to copy the URL, navigate to the archiving site, and paste the link manually.

  • Seamless Integration: The button is styled to mimic YouTube's modern UI (including the hover effect and button shape) and is placed logically next to the engagement controls.

Technical Details (Greasy Fork Compliance)

  • No External Dependencies: The script runs entirely using native browser JavaScript and does not load external libraries via @require or any other method, keeping it fast and secure.

  • No Tracking or Ads: The code contains no anti-features, tracking, ads, or miners.

  • Match Pattern: The script only runs on YouTube watch pages (*://www.youtube.com/watch?v=*).

  • DOM Reliability: It uses waitForElement and a MutationObserver to ensure the button appears reliably even when navigating between videos on YouTube's Single Page Application (SPA) architecture.