Hi,
   I write some javascript to record a user's mouse trace until he clicks 
on a link. So I use document.onmousemove = some function that will does 
          trace = trace + current event 's x coordinate + current event's y 
coordinate + '\n' where this trace variable is an empty string initially.  

   After the user click on the link, i will send the trace value back to 
server. However, I find out if I move mouse very frequently (so there are 
like 5000 coordinations need to be copied back to the trace variable) then 
it actually will takes me almost 30 seconds to finish the appending. 
However, if user clicks on a link, then it will just go to next web page so 
the previous web page's javascript's tasks will all be canceled. 

   So with Greasemonkey, is it able to keep the previous web page's non 
finished tasks in javascript to keep running in background without totally 
canceling it?  Thank you!

-- 
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/greasemonkey-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to