Fake Date

Set a fake date in your browser globally using Tampermonkey

安装此脚本?
作者推荐脚本

您可能也喜欢Fake Date with Controls

安装此脚本
作者
vijankush
日安装量
0
总安装量
4
评分
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.