Spoof the current date and time seen by websites. Useful for debugging frontend apps that depend on the time.

Latest Version

Version
1.2.0
Update
November 12, 2024
Size
27.33KiB
Developer
Category
Users
9,000+
Rating
4.48148 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
ActiveTab
Scripting
See more

Time Travel Extension

Change the current date and time seen by websites. You can use it to debug time-dependent frontend/JavaScript applications without having to change the system time.

Usage:
- Switch to the tab where you want to to change the time.
- Click the extension icon in the toolbar.
- Enter the date and time you want to set and confirm, e.g. \"2023-04-27 12:40\" (local time)
- When first activating the extension on a tab, click Reload when prompted.
- Any JavaScript Date object in the current tab now returns the fake date/time you set.

To restore the system time, click the extension icon again and press Reset.

When the fake time is turned on, the clock is paused by default. You can press the play (▶) button to make the fake clock tick forward at a normal rate. Press stop (⏹) to pause the clock.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Time Travel", "description": "Spoof the current date and time seen by websites. Useful for debugging frontend apps that depend on the time.", "version": "1.2.0", "version_name": "1.2.0", "minimum_chrome_version": "102", "icons": { "16": "images/icon-16.png", "32": "images/icon-32.png", "48": "images/icon-48.png", "128": "images/icon-128.png" }, "background": { "service_worker": "scripts/sw-chrome.js", "type": "module" }, "action": { "default_icon": { "16": "images/icon-16.png", "32": "images/icon-32.png", "48": "images/icon-48.png", "128": "images/icon-128.png" }, "default_popup": "popup/popup.html" }, "permissions": ["activeTab", "scripting"]}
Read more