mirror of
https://github.com/GetOpenScript/YouTube.openscript.git
synced 2026-10-08 22:05:19 +00:00
main
Clicking Share copies a clean video link without the si tracking token. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
YouTube.openscript
User scripts for YouTube powered by OpenScript.
Scripts
1. Better Share Button (better-share-button.os.js)
Clicking Share instantly copies a clean video link to your clipboard: no share dialog, no ?si= tracking token.
Features
- One Click Copy: Share skips the dialog and copies the link straight away, with a small confirmation toast.
- Tracking Stripped: Copies
https://youtu.be/<id>instead ofhttps://youtu.be/<id>?si=.... - Shorts Support: The Shorts share button copies
https://youtube.com/shorts/<id>. - Player Buttons Too: Covers the watch page, the fullscreen player actions, and the player share button.
- Dialog Fallback: If the native share dialog still opens, its Copy button copies the link without tracking parameters (keeps
tandlist). - Language Independent: Targets the share icon rather than the localized
Sharelabel.
Installation
- Install OpenScript.
- Open the OpenScript popup and click New Script.
- Copy and paste the contents of
better-share-button.os.jsinto the editor. - Save the script and ensure it is enabled.
- Open any YouTube video or Short and click Share.
Languages
JavaScript
100%