Greasy Fork is available in English.

Copy YouTube URL w/ Timestamp & Details

Adds two buttons to manage and copy current YouTube live or video URL with its timestamp and some other details to clipboard then turn into a shortened URL (youtu.be) style will auto switch color depending on your theme color, has a ~15 to 30 seconds delay for the time capture. (the Date and Time capture only works if this is an ongoing stream)

יוצר
Azb
התקנות יומיות
0
סה"כ התקנות
56
דירוגים
0 0 0
גרסה
0.3.7
נוצר
19-10-2023
עודכן
29-10-2023
רישיון
MIT
חל על

Adds a button to copy current YouTube video or live URL with timestamp and some other details to clipboard and turn it into a shortened url (youtu.be) - auto switch color depending on your theme color, is responsive.

Includes:

Dark Mode Detection:
Determines if YouTube is in dark or light mode to adjust the button's appearance.

Timestamp Retrieval:
For videos, the current playback time is fetched.
For live streams, the ongoing timestamp displayed on the YouTube player is used.

Date & Time Retrieval (Live Only):
Gather date & time of your current timestamp. Date is in American format, Time is in UTC.

Channel Name Retrieval:
Gather the current channel name you're on.

Button Integration:
A "Copy URL" button is added near the others buttons and is styled in the same way.
When clicked, it creates the timestamped, shortened URL and copies it to the clipboard.
A "Settings" button is added to manage which details you want to gather with your URL Date / Time (only works with ongoing stream) Timezone and Channel Name.

Timezone Editor for Date & Time Retrieval (livestream only):
Select your own timezone of reference when copying URL, range from UTC-11 to UTC+14

Notification:
A temporary "URL Copied!" notification appears near the button after the URL is copied.