Fake Date

Set a fake date in your browser globally using Tampermonkey

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
vijankush
日安装量
0
总安装量
6
评分
0 0 0
版本
1.2
创建于
2025-03-12
更新于
2025-03-12
大小
2.1 KB
许可证
MIT
适用于
所有网站

PLEASE INSTALL THE NEW SCRIPT: https://greasyfork.org/en/scripts/531462-fake-date-with-controls

Key Improvements:

Dynamic Offset Approach: Instead of setting a fixed fake date, the script now calculates a time difference between the fake date and the real current time. This makes the fake date advance naturally as time passes.

Better No-Args Constructor: The no-args constructor now returns the current time plus the offset, which better simulates real date behavior.

Symbol Support: Added support for Symbol.species which helps with inheritance in modern JavaScript.

Performance.timeOrigin: Added handling for the timeOrigin property of the performance API.

Proper Date Output in Log: Using toISOString() in the console log for clearer date representation.