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
총 설치수
58
평점
0 0 0
버전
0.3.7
생성
2023-10-19
갱신
2023-10-29
크기
23.5KB
라이선스
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.