您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Remove the "si" parameter from YouTube share links.
=====================================
This script uses a MutationObserver to monitor the YouTube page for the appearance of the "Share" button. When detected, it cleans the share URL by removing any parameters that start with "si=".
https://youtu.be/XqZsoesa55w?si=XXXXXXXXXXXXXXXX
Will be transformed into:
https://youtu.be/XqZsoesa55w
To use this script, simply include it in a userscript manager like Tampermonkey or Greasemonkey on YouTube pages. The script will automatically clean the share URLs when the copy link button appears.