Greasy Fork is available in English.

Udemy Course Creation Date

This script adds udemy course creation date of course to last updated panel.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

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.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name        Udemy Course Creation Date
// @namespace   Violentmonkey Scripts
// @match       https://www.udemy.com/course/*
// @grant       none
// @version     1.3
// @license     MIT
// @author      ad3m
// @description This script adds udemy course creation date of course to last updated panel.
// ==/UserScript==

(async () => {
  const updated =
  document.querySelector('div[class^="last-updated-module-scss-module__"] span') ||
  document.querySelector('div[data-purpose="last-update-date"] > span');
  if (!updated) return;
  const slug = location.pathname.split('/')[2];
  const res = await fetch(`https://www.udemy.com/api-2.0/courses/${slug}/?fields[course]=created`);
  const data = await res.json();
  updated.textContent = `Created ${new Date(data.created).toLocaleDateString()} - ${updated.textContent}`;
})();