Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #1533

Re: mouse movement detection?

Path csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!feeder.news-service.com!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail
Content-Type text/plain; charset="ISO-8859-1"
Message-Id <2706187.dWV9SEqChM@PointedEars.de>
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Reply-To Thomas 'PointedEars' Lahn <php@PointedEars.de>
Organization PointedEars Software (PES)
Date Wed, 11 May 2011 22:42 +0200
User-Agent KNode/4.4.7
Content-Transfer-Encoding 7Bit
Subject Re: mouse movement detection?
Newsgroups comp.lang.php
References <5jmrvpnl392w$.dlg@evanplatt.sux> <ctvjs6tsn7pf4598bq3jhrp3ldkao071hu@4ax.com> <97ep98-c2m.ln1@mail.specsol.com> <5331105.9J7NaK4W3v@PointedEars.de> <fprq98-6k2.ln1@mail.specsol.com>
Followup-To comp.lang.php
MIME-Version 1.0
Lines 46
NNTP-Posting-Date 11 May 2011 22:42:01 CEST
NNTP-Posting-Host 90d565b4.newsspool1.arcor-online.net
X-Trace DXC=f7:PbeOcnIC^B]`=U:WelBic==]BZ:afN4Fo<]lROoRA<`=YMgDjhgB`bEo<Njf[PODZm8W4\YJNLT<8F<]0D<`I8<kIcZIm?iE6FK9e:hWXnL
X-Complaints-To usenet-abuse@arcor.de
Xref x330-a1.tempe.blueboxinc.net comp.lang.php:1533

Followups directed to: comp.lang.php

Show key headers only | View raw


jimp@specsol.spam.sux.com wrote:

> Thomas 'PointedEars' Lahn <PointedEars@web.de> wrote:
>> jimp@specsol.spam.sux.com wrote:
>>> Jeff North <jnorthau@yahoo.com.au> wrote:
>>>> richard wrote:
>>>>>| Just curious to know if PHP, or other script language, has a method
>>>>>| of detecting mouse movement.
>>>>>| I had left a website page open all night and in the morning found I
>>>>>| had been transferred to another page that said my mouse had been idle
>>>>>| for 10 minutes.
>>>>>| I have a hunch that it was probably due more to nothing happening on
>>>>>| the page for a couple of hours.
>>>> It could be javascript and timers or the page header has a refresh
>>>> setting <meta http-equiv="refresh" content="600">
>>> Can't be done with just an HTML refresh.
>> Yes, it can, but like client-side scripting it is not guaranteed to work.
> 
> OK then, tell us what HTML tag will tell you whether or not the mouse has
> moved.

That is beside the point.  As accurate as "richard"'s problem descriptions 
usually go, chances are it did not say that their "mouse had been idle", but 
that *they* had been idle, i.e. they had not navigated anywhere on that 
site.  You can deal with this condition with a META-refresh, although as I 
said it is not reliable.

> Doing it in javascript is rather trivial.

There is no "javascript".  In any ECMAScript implementation, it cannot be 
done reliably either, partially because one usually cannot determine pointer 
movements beyond the browser viewport.
 
>> Do you have permission to use sux.com?
> 
> Permission to do what exactly?

To specify a mailbox at one of their sub-level domains.


PointedEars
-- 
var bugRiddenCrashPronePieceOfJunk = (
    navigator.userAgent.indexOf('MSIE 5') != -1
    && navigator.userAgent.indexOf('Mac') != -1
)  // Plone, register_function.js:16

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

mouse movement detection? richard <member@newsguy.com> - 2011-05-10 09:57 -0700
  Re: mouse movement detection? Gregor Kofler <usenet@gregorkofler.com> - 2011-05-10 21:11 +0200
    Re: mouse movement detection? richard <member@newsguy.com> - 2011-05-10 12:23 -0700
      Re: mouse movement detection? "P E Schoen" <paul@pstech-inc.com> - 2011-05-10 15:42 -0400
        Re: mouse movement detection? richard <member@newsguy.com> - 2011-05-10 13:56 -0700
          Re: mouse movement detection? jimp@specsol.spam.sux.com - 2011-05-10 21:15 +0000
      Re: mouse movement detection? jimp@specsol.spam.sux.com - 2011-05-10 19:40 +0000
        Re: mouse movement detection? Robert Heller <heller@deepsoft.com> - 2011-05-10 15:10 -0500
          Re: mouse movement detection? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-05-10 23:52 +0200
            Re: mouse movement detection? Jerry Stuckle <jstucklex@attglobal.net> - 2011-05-10 20:03 -0400
              Re: mouse movement detection? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-05-11 10:49 +0200
                Re: mouse movement detection? Jerry Stuckle <jstucklex@attglobal.net> - 2011-05-11 06:39 -0400
                Re: mouse movement detection? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-05-11 14:24 +0200
                Re: mouse movement detection? Jerry Stuckle <jstucklex@attglobal.net> - 2011-05-11 11:25 -0400
              Re: mouse movement detection? Sherm Pendley <sherm.pendley@gmail.com> - 2011-05-11 11:36 -0400
                Re: mouse movement detection? Jerry Stuckle <jstucklex@attglobal.net> - 2011-05-11 12:30 -0400
            Re: mouse movement detection? Robert Heller <heller@deepsoft.com> - 2011-05-10 20:24 -0500
              Re: mouse movement detection? Erwin Moller <Since_humans_read_this_I_am_spammed_too_much@spamyourself.com> - 2011-05-11 08:16 +0200
              Re: mouse movement detection? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-05-11 11:02 +0200
  Re: mouse movement detection? Jeff North <jnorthau@yahoo.com.au> - 2011-05-11 13:18 +1000
    Re: mouse movement detection? jimp@specsol.spam.sux.com - 2011-05-11 04:00 +0000
      Re: mouse movement detection? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-05-11 11:11 +0200
        Re: mouse movement detection? jimp@specsol.spam.sux.com - 2011-05-11 16:57 +0000
          Re: mouse movement detection? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-05-11 22:42 +0200
      Re: mouse movement detection? Jeff North <jnorthau@yahoo.com.au> - 2011-05-11 23:34 +1000
        Re: mouse movement detection? jimp@specsol.spam.sux.com - 2011-05-11 16:53 +0000
          Re: mouse movement detection? Jeff North <jnorthau@yahoo.com.au> - 2011-05-12 12:26 +1000
            Re: mouse movement detection? jimp@specsol.spam.sux.com - 2011-05-12 04:35 +0000
              Re: mouse movement detection? Jeff North <jnorthau@yahoo.com.au> - 2011-05-12 16:09 +1000
                Re: mouse movement detection? Jerry Stuckle <jstucklex@attglobal.net> - 2011-05-12 06:52 -0400
                Re: mouse movement detection? Jeff North <jnorthau@yahoo.com.au> - 2011-05-13 06:48 +1000
                Re: mouse movement detection? jimp@specsol.spam.sux.com - 2011-05-12 16:12 +0000
                Re: mouse movement detection? Jeff North <jnorthau@yahoo.com.au> - 2011-05-13 07:36 +1000
                Re: mouse movement detection? jimp@specsol.spam.sux.com - 2011-05-12 22:05 +0000
                Re: mouse movement detection? Jeff North <jnorthau@yahoo.com.au> - 2011-05-13 10:14 +1000
                Re: mouse movement detection? jimp@specsol.spam.sux.com - 2011-05-13 00:56 +0000
                Re: mouse movement detection? Jeff North <jnorthau@yahoo.com.au> - 2011-05-13 20:34 +1000
                Re: mouse movement detection? jimp@specsol.spam.sux.com - 2011-05-13 15:36 +0000
                Re: mouse movement detection? Jeff North <jnorthau@yahoo.com.au> - 2011-05-14 10:01 +1000
                Re: mouse movement detection? jimp@specsol.spam.sux.com - 2011-05-14 03:51 +0000
                Re: mouse movement detection? Jeff North <jnorthau@yahoo.com.au> - 2011-05-14 15:00 +1000
                Re: mouse movement detection? jimp@specsol.spam.sux.com - 2011-05-14 06:00 +0000
                Re: mouse movement detection? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-05-15 13:35 +0200
                Re: mouse movement detection? jimp@specsol.spam.sux.com - 2011-05-15 16:41 +0000
                Re: mouse movement detection? Jerry Stuckle <jstucklex@attglobal.net> - 2011-05-15 13:00 -0400
                Re: mouse movement detection? "Twayne" <nobody@devnull.spamcop.net> - 2011-05-17 11:37 -0400
                Re: mouse movement detection? Jerry Stuckle <jstucklex@attglobal.net> - 2011-05-17 12:34 -0400
                Re: mouse movement detection? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-05-16 00:36 +0200
                Re: mouse movement detection? jimp@specsol.spam.sux.com - 2011-05-16 02:07 +0000
                Re: mouse movement detection? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-05-17 22:33 +0200
                Re: mouse movement detection? jimp@specsol.spam.sux.com - 2011-05-17 20:52 +0000
                Re: mouse movement detection? "P E Schoen" <paul@pstech-inc.com> - 2011-05-18 08:10 -0400
                Re: mouse movement detection? jimp@specsol.spam.sux.com - 2011-05-18 15:20 +0000
                Re: mouse movement detection? dougatmilmacdotcom@example.com (Doug Miller) - 2011-05-16 12:00 +0000
  Re: mouse movement detection? Sherm Pendley <sherm.pendley@gmail.com> - 2011-05-11 11:33 -0400

csiph-web