Path: csiph.com!x330-a1.tempe.blueboxinc.net!aioe.org!.POSTED!not-for-mail From: jimp@specsol.spam.sux.com Newsgroups: comp.lang.php Subject: Re: mouse movement detection? Date: Tue, 10 May 2011 21:15:33 -0000 Organization: Aioe.org NNTP Server Lines: 44 Message-ID: References: <5jmrvpnl392w$.dlg@evanplatt.sux> <1l6ipxzio1vee$.dlg@evanplatt.sux> <9csm8a0ckbkp$.dlg@evanplatt.sux> NNTP-Posting-Host: 5FQzpG9PgxCHgWX2ynv4yg.user.speranza.aioe.org X-Complaints-To: abuse@aioe.org User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (SunOS/5.10 (i86pc)) X-Notice: Filtered by postfilter v. 0.8.2 Xref: x330-a1.tempe.blueboxinc.net comp.lang.php:1493 richard wrote: > On Tue, 10 May 2011 15:42:54 -0400, P E Schoen wrote: > >> "richard" wrote in message news:1l6ipxzio1vee$.dlg@evanplatt.sux... >> >>> On Tue, 10 May 2011 21:11:39 +0200, Gregor Kofler wrote: >> >>>> No server side script can detect the movement of a mouse >>> attached to a client computer. >>> >>>> You shouldn't believe everything you read on the internet... >>> >>>> All you did was not creating a request which could be detected >>>> by the server (though this request could be invoked by JS without >>>> explicit interaction, too). >> >>> that's what I figured. Probably done through a cookie check. >> >> It would be interesting to check the source of the HTML of the original web >> page. The server-side PHP script could generate JavaScript that invokes a >> timer and also an event handler for mouse movement. >> >> http://www.toknowmore.net/e/1/javascript/javascript-onmousemove.php >> >> The mousemove event would reset the timer, so if no movement was detected, >> the timeout would occur and the client-side webpage could post to the >> server, which would then send the new web page to the client. >> >> Paul > > www.bidrack.com > > Just leave the page open for an hour or so and see what happens. You don't have to leave the page open for an hour. Access the page with a javascript debugger like Firebug installed and watch as all the javascript and timers are downloaded. -- Jim Pennino Remove .spam.sux to reply.