Firefox ブラウザーアドオン
  • 拡張機能
  • テーマ
    • Firefox 向け
    • スペルチェック辞書と言語パック
    • 他のブラウザーサイト
    • Android 向けアドオン
ログイン
Time Travel のプレビュー

Time Travel 作成者: Christian Pulvermacher

Fake the current date, time and time zone in JavaScript Date or Intl.DateTimeFormat objects. Time Travel helps you debug time-dependent frontend applications without having to change the system time.

Android™ 版 Firefox でも利用可能Android™ 版 Firefox でも利用可能
5 (1 reviews)5 (1 reviews)
311 Users311 Users
この拡張機能を使用するには Firefox が必要です
Firefox をダウンロードして拡張機能を入手する
ファイルをダウンロード

拡張機能メタデータ

スクリーンショット
Choose a date from the calendar and edit the time if necessary, or enter a date and time directly.Confirm with Enter or by clicking the "Change Date" button.
Any JavaScript Date or Intl.DateTimeFormat in the current tab now returns the fake date/time you set.Enable "Stop Clock" to stop the clock.
この拡張機能について
Usage:
- Open the tab you want to change the time in.
- Click the Extensions icon in the toolbar, then click Time Travel.
- Choose a date from the calendar and edit the time if necessary, or enter a date and time directly (see examples below).
- Confirm with Enter or by clicking the "Change Date" button.
- Any JavaScript Date or Intl.DateTimeFormat in the current tab now returns the fake date/time you set. Other tabs and origins are not affected.

To restore the system time, click the extension icon and switch off the "Enable Fake Date" toggle.

When the fake date is enabled, the clock runs forward from the configured time.
You can stop the clock by switching on the "Stop Clock" toggle. The fake date will be reset to the last value you set.

To change the time zone, open "Details" and select a time zone from the dropdown. When a non-default time zone is set, both Date objects and Intl.DateTimeFormat will use this time zone instead of the system time zone. The fake date in the Time Travel UI is still shown and configured in the system time zone, but a preview of the time in the configured time zone plus the Daylight Saving Time (DST) offset is shown if applicable.

Example Dates and Formats:
- 2025-04-27 12:40 - Local time
- 2025-03-30 00:59:55 - Assuming your system time zone is Europe/London (GMT), 5 seconds before a one-hour jump to 2 a.m. (summer time)
- 2025-04-27T12:40Z - Set local equivalent for given UTC time
- 2025-04-27T12:40+1130 - Set local equivalent for time with +11:30 time zone offset. Note that actual time zone is not changed
- 2025-03-25T12:40:00.120 - Local time with milliseconds
- 1731493140025 - UNIX timestamp

Features:
- Fakes date and time for all methods of Date and Intl.DateTimeFormat objects.
- (experimental) Time zone can be changed, with full support for DST transitions.
- Time can be stopped and resumed.
- Option to automatically reload page after changing date.
- Only affects current tab after clicking the extension icon.

Limitations:
- Only JavaScript is affected by the extension.
- Some functionality or animations may behave strangely if the clock is stopped.
- The extension does not work in iframes with the sandbox attribute.

Contributions:
Contributions are welcome! If you have ideas, bug reports, or want to help improve Time Travel, please open an issue or submit a pull request on GitHub.
Rated 5 by 1 reviewer
ログインしてこの拡張機能を評価
まだ評価されていません

星の評価を保存しました

5
1
4
0
3
0
2
0
1
0
すべてのレビュー (1) を読む
Permissions and data詳細情報

必要な権限:

  • すべてのウェブサイトの保存されたデータへのアクセス
詳しい情報
アドオンリンク
  • サポートサイト
バージョン
2.4.0
サイズ
92.48 KB
最終更新日
6日前 (2025年8月28日)
関連カテゴリー
  • ウェブ開発
ライセンス
MIT License
バージョン履歴
  • すべてのバージョンを見る
コレクションへ追加
このアドオンを報告
Christian Pulvermacher が公開している他の拡張機能
  • まだ評価されていません

  • まだ評価されていません

  • まだ評価されていません

  • まだ評価されていません

  • まだ評価されていません

  • まだ評価されていません

Mozilla のホームページへ

アドオン

  • このサイトについて
  • Firefox アドオンブログ
  • 拡張機能ワークショップ
  • 開発者センター
  • 開発者ポリシー
  • コミュニティブログ
  • フォーラム
  • バグを報告
  • レビューガイド

ブラウザー

  • Desktop
  • Mobile
  • Enterprise

製品情報

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • プライバシー
  • Cookie
  • 法的情報

特に 明記されている 場合を除き、当サイト上のコンテンツは Creative Commons 表示・継承ライセンス v3.0 あるいはそれ以降のバージョンでライセンスされています。Android は Google LLC の登録商標です。