github - Show full datetime

Display text with the full datetime next to the default "vague" text

2026/03/30のページです。最新版はこちら

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

You will need to install an extension such as Tampermonkey to install this script.

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
/* ==UserStyle==
@name           github - Show full datetime
@namespace      github.com/Procyon-b
@version        0.9
@description    Display text with the full datetime next to the default "vague" text
@author         Achernar
==/UserStyle== */

@-moz-document domain("github.com") {
relative-time[datetime]::after {
  content: "(" var(--datetime) ")";
  margin-left: 0.5em;
  font-size: 75%;
  color: darkgray;
}

:is(div,span) > relative-time[datetime][title]::after,
a[id^="issuecomment"] > relative-time[datetime][title]::after,
.js-commits-list-item relative-time[datetime][title]::after {
  --datetime: attr(title);
}

a[id^="issuecomment"] > relative-time[datetime]:not([title])::after,
.js-commits-list-item relative-time[datetime]:not([title])::after {
  --datetime: attr(datetime);
}
td > :is(div,span) > relative-time[datetime][title]::after {
  --datetime: attr(datetime);
  white-space: pre;
  content: var(--datetime);
  line-height: 1em;
  display: block;
  font-size: 70%;
}

[aria-label="Issues"][role="group"] relative-time[datetime],
a relative-time[datetime] {
  --datetime: attr(datetime);
}

}