|
Rank: Advanced Member Groups: Member
Joined: 8/29/2016 Posts: 64
|
I need to spoof time on the page. So I can use for this next code:
Date = function () { }
But the problem that I need to call this JavaScript code before document is loaded and JavaScript code for receiving time is called.
Any ideas how I can do it?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
You can try to set WebView.JSInitCode. That code is run before everything else.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 8/29/2016 Posts: 64
|
Thank you! Exactly what I need!
|
|