Youtube exact upload

Adds exact upload time to youtube videos

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

Autor
Wissididom
Dziennych instalacji
0
Wszystkich instalacji
1 789
Oceny
12 1 2
Wersja
1.1
Utworzono
27-03-2021
Zaktualizowano
28-02-2026
Rozmiar
20 KB
Licencja
MIT
Dotyczy

Youtube exact upload

Adds the time to the upload timestamp above the video.

Infos

The time update can take up to 5 seconds (when the website is loaded, a request is made to the YouTube Data API v3 and its value is then set).

The formats of the constants in the source code need to be checked and possibly adjusted (default values in quotes):

  • DATE_PATTERN: "dd.MM.yyyy" Example: 27.03.2021.
  • TIME_PATTERN: "HH:mm:ss" Example: 22:00:00
  • DATETIME_COMBINE_PATTERN: " 'at' "
  • SCHEDULED_LIVESTREAM_START: "Livestream scheduled for: "
  • SCHEDULED_PREMIERE_START: "Premiere scheduled for: "
  • ONGOING_LIVESTREAM_START: "Active Livestream since "
  • ONGOING_PREMIERE_START: "Active Premiere since "
  • ENDED_LIVESTREAM_START: "Livestream from "
  • ENDED_PREMIERE_START: "Premiere from "
  • DATETIME_UNTIL_PATTERN: " until "
  • SINCE: "Since"
  • TODAY_AT: "Today at "
  • AGE_RESTRICTED: " - FSK 18";
  • SHOW_REFRESH: true;
  • REFRESH_TIMESTAMP: "⟳";
  • SHOW_UNDERLINE_ON_TIMESTAMP: false;
  • YT_API_KEY: "YouTube API-Key"

For the first 3 constants, ' must be around the text which should not be formatted.

In the counter of active livestream or premieres, days are appended in front, if the livestream is longer than 24 hours (two or more digits).

The API key must be created at https://console.developers.google.com/ (YouTube Data API v3) and the script asks for it when it is run on youtube.

Known Bugs

If a livestream or a premiere changes from scheduled to active or from active to finished, the script does not get it (If someone knows how I get the change or in which yt-event you could listen there, I could include it).