CLIST MM/DD Converter

CLISTの日付の表記をDD.MMからMM/DDに変えるだけのスクリプト

// ==UserScript==
// @name         CLIST MM/DD Converter
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  CLISTの日付の表記をDD.MMからMM/DDに変えるだけのスクリプト
// @author       stoq
// @match        https://clist.by/
// @icon         https://www.google.com/s2/favicons?domain=clist.by
// @grant        none
// ==/UserScript==

(function() {
  'use strict';
  window.onload = function () {
    let elements = document.getElementsByClassName("start-time");
    for(let i = 0; i < elements.length; i++){
      let html = elements[i].getElementsByTagName("a")[0];
   let s = html.innerHTML.trim();
      html.innerHTML = s.substr(3, 2) + '/' + s.substr(0, 2) + s.substr(5);
    }
  }
})();