Change browser time to test return value of Date()?

后端 未结 3 978
無奈伤痛
無奈伤痛 2021-02-18 21:17

Is there any way to change the browser\'s time without manipulating the system clock?

3条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-18 21:52

    You can run the browser in a virtual machine (VMWare/VirtualPC/etc.) and change the time of the OS in the VM.

提交回复
热议问题