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)

These are versions of this script where the code was updated. Show all versions.

  • v0.3.7 2023-10-29

    Fixed the copied channel name that could be wrong (this time, it should work)

  • v0.3.6 2023-10-26

    Fixed a bug that sometimes made the copied channel name the one from a previous video

  • v0.3.6 2023-10-26
  • v0.3.5 2023-10-26

    Fixed a new bug that appeared after the last update which was causing the copied Time to not be accurate.

  • v0.3.4 2023-10-26

    Fixed some formatting bugs
    Fixed a bug that made copied timestamp innacurate if you was copying the url of the stream in real time

  • v0.3.3 2023-10-25

    Fixed the way Time is calculated when the live stream is on for less than an hour
    Fixed formatting issues to Date/Time/Timezone output when the live stream is on for less than an hour.
    Fixed formatting issues to Time. When selecting only hours or minutes, you could still get seconds sometimes, resulting in inaccurate time, now you should not.
    Now if you don't select any of the Hour Minutes or Seconds checkbox, given result will not include anything regarding Time.

  • v0.3.2 2023-10-25

    Fixed a bug that made the menu appear on other pages if it wasnt closed before, now it will close itself if you click outside of it.

  • v0.3.1 2023-10-24

    Fixed the way the date is calculated, the old way was displaying one day too many compared to the real date.

  • v0.3 2023-10-24

    Timezone Editor:
    You can now select your own timezone of reference when copying URL, ranging from UTC-11 to UTC+14

    Rewrote pretty much all the way the code.

    Fixed some bug/issues like the fact that you could select seconds but not minutes, resulting in a format that wasn't making any sense.

  • v0.2.3 2023-10-23

    @match now target *://www.youtube.com/* not *://www.youtube.com/watch*, matching *://www.youtube.com/watch* was causing the script to not load every time when loading a video/live from the YouTube main page.

  • v0.2.2 2023-10-20

    Fixed a bug that kept the timestamp of a previous video/live instead of putting the new copied one.

  • v0.2.1 2023-10-20

    Changed position of menu to absolute instead of fixed so it will not move if you scroll.

  • v0.2 2023-10-20

    New "Settings" button, opens a menu to select with details you want to gather with your URL.

    Date, Time and Channel Name are now gatherables.

    Time is not 100% precise, since livestream can have delay (usually 15 to 30 seconds), but it is as close as possible to reality.

  • v0.1 2023-10-19