GitHub Actual Times

Appends the actual DateTime to GitHub workflows

  1. // ==UserScript==
  2. // @name GitHub Actual Times
  3. // @namespace CMG
  4. // @version 0.2
  5. // @description Appends the actual DateTime to GitHub workflows
  6. // @author Ned Wilbur
  7. // @match https://github.com/*
  8. // @icon https://www.google.com/s2/favicons?sz=64&domain=github.com
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14.  
  15. for (const time of document.querySelectorAll('relative-time')) {
  16. if (document.URL.includes('workflow')) time.shadowRoot.innerHTML += '<br>';
  17. else time.shadowRoot.innerHTML += ' - '
  18. time.shadowRoot.innerHTML += time.getAttribute('title')
  19. }
  20. })();

QingJ © 2025

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