From 437eef1d657e3c6049897822bfc874878429cc84 Mon Sep 17 00:00:00 2001 From: hayao Date: Mon, 16 Oct 2023 15:00:00 +0900 Subject: [PATCH] Update: Add my twitter link --- src/class/Kyomu/index.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/class/Kyomu/index.ts b/src/class/Kyomu/index.ts index 7bc74bd..347b704 100644 --- a/src/class/Kyomu/index.ts +++ b/src/class/Kyomu/index.ts @@ -39,6 +39,16 @@ const EnableRainbow = () => { // 受信メッセージ一覧 AddRainbowBg("#ctl00_phContents_ctlMesReceive_gridMes tr"); + + // リンクを挿入 + if (["/portal/login.aspx", "/portal/"].includes(location.pathname.toLowerCase())) { + const linkHTML = + 'ゲーミング群馬大学についての問い合わせは@Hayao0819までお願いします。'; + document.querySelectorAll(".footerTable").forEach((e) => { + const tbody = e.querySelector("tbody"); + if (tbody) tbody.innerHTML += linkHTML; + }); + } }; export const Kyomu = new GundaiWebSite(EnableRainbow);