GitHub Actual Times

Appends the actual DateTime to GitHub workflows

// ==UserScript==
// @name         GitHub Actual Times
// @namespace    CMG
// @version      0.2
// @description  Appends the actual DateTime to GitHub workflows
// @author       Ned Wilbur
// @match        https://github.com/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=github.com
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    for (const time of document.querySelectorAll('relative-time')) {
        if (document.URL.includes('workflow')) time.shadowRoot.innerHTML += '<br>';
        else time.shadowRoot.innerHTML += ' - '
        time.shadowRoot.innerHTML += time.getAttribute('title')
    }
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址