Skip to content

Commit

Permalink
Update: Add my twitter link
Browse files Browse the repository at this point in the history
  • Loading branch information
Hayao0819 committed Oct 16, 2023
1 parent 7ff09af commit 437eef1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/class/Kyomu/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,16 @@ const EnableRainbow = () => {

// 受信メッセージ一覧
AddRainbowBg("#ctl00_phContents_ctlMesReceive_gridMes tr");

// リンクを挿入
if (["/portal/login.aspx", "/portal/"].includes(location.pathname.toLowerCase())) {
const linkHTML =
'<tr><td align="center">ゲーミング群馬大学についての問い合わせは<a href="https://twitter.com/Hayao0819" style="font-size: small;">@Hayao0819</a>までお願いします。</td></tr>';
document.querySelectorAll(".footerTable").forEach((e) => {
const tbody = e.querySelector("tbody");
if (tbody) tbody.innerHTML += linkHTML;
});
}
};

export const Kyomu = new GundaiWebSite(EnableRainbow);

0 comments on commit 437eef1

Please sign in to comment.