“Time Travel”的产品徽标图片

Time Travel

精选
4.3(

39 个评分

)
扩展程序开发者工具20,000 用户
Time Travel的项目媒体 2(屏幕截图)
Time Travel的项目媒体 3(屏幕截图)
Time Travel的项目媒体 1(屏幕截图)
Time Travel的项目媒体 2(屏幕截图)
Time Travel的项目媒体 3(屏幕截图)
Time Travel的项目媒体 1(屏幕截图)
Time Travel的项目媒体 2(屏幕截图)
Time Travel的项目媒体 1(屏幕截图)
Time Travel的项目媒体 2(屏幕截图)
Time Travel的项目媒体 3(屏幕截图)

概述

Fake the current date and time in JavaScript Date or Intl.DateTimeFormat objects.

Time Travel helps you debug time-dependent frontend applications without having to change the system time. 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. In Chrome, when first activating the extension on a tab, the page needs to be reloaded once to apply the changes. - 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. - Minimal permissions, 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.

4.3 星(5 星制)39 个评分

详细了解结果和评价。

详情

  • 版本
    2.4.0
  • 上次更新日期
    2025年8月31日
  • 提供方
    Christian Pulvermacher
  • 大小
    87.52KiB
  • 语言
    3 种语言
  • 开发者
    邮箱
    pulvermacher.christian@gmail.com
  • 非交易者
    该开发者尚未将自己标识为交易者。欧盟地区消费者须知:消费者权利可能不适用于您与该开发者达成的合约。

隐私权

该开发者已披露,此产品不会收集或使用您的数据。 如需了解详情,请查看该开发者的隐私权政策

该开发者已声明,您的数据:

  • 不会因未获批准的用途出售给第三方
  • 不会为实现与产品核心功能无关的目的而使用或转移
  • 不会为确定信用度或放贷目的而使用或转移

支持

若有任何疑问、建议或问题,请访问开发者的支持网站

Google 应用