Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Javascript timer [date()] does not stop with speedhack.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
theo1996
Newbie cheater
Reputation: 0

Joined: 27 Dec 2013
Posts: 15

PostPosted: Thu Nov 20, 2014 4:46 pm    Post subject: Javascript timer [date()] does not stop with speedhack. Reply with quote

So i have this quiz that runs on javascript,when i stop time with speedhack it is still counting in the background.
and how can i make it stop completely?
is it server or client sided?


It uses the date() function how can i stop it?

Example
Quote:

Code:
<form name="Tick">
<input type="text" size="11" name="Clock">
</form>

<script>
<!--
/*
By George Chiang (WA's JavaScript tutorial)

*/

function show(){
var Digital=new Date()
var hours=Digital.getHours()
var minutes=Digital.getMinutes()
var seconds=Digital.getSeconds()
var dn="AM"

if (hours>12){
dn="PM"
hours=hours-12
}

if (hours==0)
hours=12

if (minutes<=9)
minutes="0"+minutes

if (seconds<=9)
seconds="0"+seconds
document.Tick.Clock.value=hours+":"+minutes+":"
+seconds+" "+dn
setTimeout("show()",1000)
}

show()
//-->
</script>
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites