Plugin Icon

Time Travel Chrome 插件, crx 扩展下载

Plugin Screenshot
Plugin Screenshot
Plugin Screenshot
                    

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. - Edit the date and time in the input field directly, or click the calendar icon to choose the date visually. - Confirm with `Enter` or by clicking the "Change Date" button. 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. To restore the system time, click the extension icon and press Reset. When the fake time is turned on, the clock is paused by default. Press the play (▶) button to make the fake clock tick forward at a normal rate, press stop (⏹) to pause the clock. Example Dates and Formats: - 2023-04-27 12:40 - Local time - 2023-04-27 - Midnight UTC - 2025-03-30 00:59:55 - Assuming your system timezone is Europe/London (GMT), 5 seconds before a one-hour jump to 2 a.m. (summer time) - 2023-04-27T12:40Z - Set local equivalent for given UTC time - 2023-04-27T12:40+1130 - Set local equivalent for time with +11:30 timezone offset. Note that actual time zone is not changed - 2023-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. - Time can be stopped and resumed. - 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. Try resuming the clock via the ▶ button in that case. - The extension does not work in iframes with the `sandbox` attribute.

分类 💻开发者工具
插件标识 jfdbpgcmmenmelcghpbbkldkcfiejcjg
平台 Chrome
评分
★★★☆☆ 3.9
评分人数 120
插件主页 https://chromewebstore.google.com/detail/time-travel/jfdbpgcmmenmelcghpbbkldkcfiejcjg
大小 59.43KiB
官网下载次数 10000
下载地址

CRX扩展文件安装方法

第1步: 打开Chrome浏览器的扩展程序

第2步: 在地址栏输入: chrome://extensions/

第3步: 开启右上角的【开发者模式】

第4步: 重启Chrome浏览器 (重要操作)

第5步: 重新打开扩展程序管理界面

第6步: 将下载的crx文件直接拖入页面完成安装

注意:请确保使用最新版本的Chrome浏览器

同类插件推荐