埋め込み
埋め込み時計
iframeで他サイトにライブ時計を置けます。スタイル・任意のタイムゾーン・背景を選択。見える形で time.foo へのクレジットを残してください。
スタイル
スニペット
<iframe src="https://time.foo/embed/clock/?style=digital" width="320" height="120" style="border:0;border-radius:12px;overflow:hidden" loading="lazy" title="Live clock from time.foo"></iframe> <p style="font-size:12px">Clock by <a href="https://time.foo/">time.foo</a></p>
クエリパラメータ
style—digital|text|minimaltheme—light(既定) |darktz— IANA (既定:訪問者の現地ゾーン)bg— 背景のCSS色(任意)
クレジット:ウィジェット付近に https://time.foo へのテキストリンクを残してください。埋め込みは /embed/* のみ CSP frame-ancestors * で許可されます。