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.