Time Travel 作成者: Christian Pulvermacher
JavaScript Date、Intl.DateTimeFormatまたはTemporalオブジェクトの現在日時を、任意の日時とタイムゾーンに上書きできるようにします。
Scan the QR code to open this extension in Firefox for Android
拡張機能メタデータ
スクリーンショット
この拡張機能について
Features:
- Fakes date and time for all methods of
- 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
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
- Any JavaScript
To restore the system time, click the extension icon and switch off the "Fake JavaScript date" toggle, or clear the input field and press
When the fake date is enabled, the clock runs forward from the configured time. The current page time is shown under "Page sees:", which also displays the real time while the extension is off.
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, enable "Change time zone" and select a time zone from the dropdown.
When enabled, both
Date and time input is then interpreted as local time in the selected time zone as well (input label shows e.g. "Set date and time (London)").
Switching to a different time zone keeps the entered local date and time, which may change the instant (unless the input field contains a UTC instant).
A badge next to the effective page time shows the UTC offset in use, with an icon marking whether the date falls into daylight saving time or standard time.
Hovering over the badge will show further details.
Example Dates and Formats:
-
-
-
-
-
-
This extension is open source software licensed under the MIT license.
If you have ideas, bug reports, or want to help improve Time Travel, please open an issue on GitHub.機能
-
- タイムゾーンを変更でき、夏時間の切り替えにも完全に対応しています。
- 時計を停止・再開できます。
- 日時の変更後にページを自動的に再読み込みするオプションがあります。
- 拡張機能のアイコンをクリックした後、現在のタブのみに影響します。
制限事項
- この拡張機能が影響するのはJavaScriptのみです。
- 時計を停止すると、一部の機能やアニメーションが正常に動作しない場合があります。
-
使い方
- 日時を変更したいタブを開きます。
- ツールバーの拡張機能アイコンをクリックし、Time Travelをクリックします。
- カレンダーから日付を選び、必要に応じて時刻を編集します。または日時を直接入力します(下記の例を参照)。
-
- 現在のタブのJavaScriptの
システム時刻に戻すには、拡張機能のアイコンをクリックして「仮想JavaScript日時」のトグルをオフにするか、入力欄を空にして
仮想日時が有効な場合、時計は設定した時刻から進みます。現在のページの日時は「ページの日時:」の下に表示され、拡張機能がオフのときは実時間が表示されます。
「時計を停止」のトグルをオンにすると、時計を停止できます。仮想日時は最後に設定した値にリセットされます。
タイムゾーンを変更するには、「タイムゾーンを変更」を有効にして、ドロップダウンからタイムゾーンを選択します。
有効にすると、
日時の入力も、選択したタイムゾーンのローカル時間として解釈されます(入力欄のラベルには「日時を設定(London)」のように表示されます)。
別のタイムゾーンに切り替えると、入力されたローカルの日時が保持されるため、指し示す時点が変わることがあります(入力欄にUTCの時点が入力されている場合を除く)。
ページに適用されている日時の横のバッジには、使用中のUTCオフセットが表示され、その日時が夏時間か標準時かをアイコンで示します。
バッジにマウスを重ねると、詳細が表示されます。
日付と形式の例
-
-
-
-
-
-
この拡張機能は、MITライセンスで提供されるオープンソースソフトウェアです。
アイデアやバグ報告がある方、Time Travelの改善に協力したい方は、GitHubでIssueを作成してください。
- Fakes date and time for all methods of
Date and Intl.DateTimeFormat objects.- 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.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 apply button, which shows a preview of the change to apply (e.g. "Change date to Apr 27, 2025 12:40").- 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 "Fake JavaScript date" toggle, or clear the input field and press
Enter.When the fake date is enabled, the clock runs forward from the configured time. The current page time is shown under "Page sees:", which also displays the real time while the extension is off.
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, enable "Change time zone" and select a time zone from the dropdown.
When enabled, both
Date objects and Intl.DateTimeFormat will use this time zone instead of the system time zone.Date and time input is then interpreted as local time in the selected time zone as well (input label shows e.g. "Set date and time (London)").
Switching to a different time zone keeps the entered local date and time, which may change the instant (unless the input field contains a UTC instant).
A badge next to the effective page time shows the UTC offset in use, with an icon marking whether the date falls into daylight saving time or standard time.
Hovering over the badge will show further details.
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 timestampThis extension is open source software licensed under the MIT license.
If you have ideas, bug reports, or want to help improve Time Travel, please open an issue on GitHub.機能
-
DateおよびIntl.DateTimeFormatオブジェクトのすべてのメソッドと、ブラウザが対応している場合はTemporal.Nowでも日時を偽装します。- タイムゾーンを変更でき、夏時間の切り替えにも完全に対応しています。
- 時計を停止・再開できます。
- 日時の変更後にページを自動的に再読み込みするオプションがあります。
- 拡張機能のアイコンをクリックした後、現在のタブのみに影響します。
制限事項
- この拡張機能が影響するのはJavaScriptのみです。
- 時計を停止すると、一部の機能やアニメーションが正常に動作しない場合があります。
-
sandbox属性が付いたiframe内では動作しません。使い方
- 日時を変更したいタブを開きます。
- ツールバーの拡張機能アイコンをクリックし、Time Travelをクリックします。
- カレンダーから日付を選び、必要に応じて時刻を編集します。または日時を直接入力します(下記の例を参照)。
-
Enterキー、または適用ボタンのクリックで確定します。ボタンには適用される変更のプレビューが表示されます(例:「日時を2025年4月27日 12:40に変更」)。- 現在のタブのJavaScriptの
Date、Intl.DateTimeFormatおよびTemporal.Nowは、設定した仮想日時を返すようになります。他のタブやオリジンには影響しません。システム時刻に戻すには、拡張機能のアイコンをクリックして「仮想JavaScript日時」のトグルをオフにするか、入力欄を空にして
Enterキーを押します。仮想日時が有効な場合、時計は設定した時刻から進みます。現在のページの日時は「ページの日時:」の下に表示され、拡張機能がオフのときは実時間が表示されます。
「時計を停止」のトグルをオンにすると、時計を停止できます。仮想日時は最後に設定した値にリセットされます。
タイムゾーンを変更するには、「タイムゾーンを変更」を有効にして、ドロップダウンからタイムゾーンを選択します。
有効にすると、
Dateオブジェクト、Intl.DateTimeFormatおよびTemporal.Nowが、システムのタイムゾーンの代わりにこのタイムゾーンを使用します。日時の入力も、選択したタイムゾーンのローカル時間として解釈されます(入力欄のラベルには「日時を設定(London)」のように表示されます)。
別のタイムゾーンに切り替えると、入力されたローカルの日時が保持されるため、指し示す時点が変わることがあります(入力欄にUTCの時点が入力されている場合を除く)。
ページに適用されている日時の横のバッジには、使用中のUTCオフセットが表示され、その日時が夏時間か標準時かをアイコンで示します。
バッジにマウスを重ねると、詳細が表示されます。
日付と形式の例
-
2025-04-27 12:40 - ローカル時間-
2025-03-30 00:59:55 - システムのタイムゾーンがEurope/London(GMT)の場合、午前2時への1時間の繰り上げ(夏時間)の5秒前-
2025-04-27T12:40Z - 指定したUTC時刻に対応するローカル時間を設定-
2025-04-27T12:40+1130 - タイムゾーンオフセット+11:30の時刻に対応するローカル時間を設定。実際のタイムゾーンは変更されない点に注意してください-
2025-03-25T12:40:00.120 - ミリ秒付きのローカル時間-
1731493140025 - UNIXタイムスタンプこの拡張機能は、MITライセンスで提供されるオープンソースソフトウェアです。
アイデアやバグ報告がある方、Time Travelの改善に協力したい方は、GitHubでIssueを作成してください。
5 人のレビュー担当者が 5 と評価しました
権限とデータ
詳しい情報
- アドオンリンク
- バージョン
- 3.1.0
- サイズ
- 100.26 KB
- 最終更新日
- 1ヶ月前 (2026年8月30日)
- 関連カテゴリー
- ライセンス
- MIT License
- バージョン履歴
- コレクションへ追加