Results 1 to 3 of 3

Thread: Two questions

  1. #1
    'Gabby Hayes' big Bart's Friend Milhouse's Avatar
    Join Date
    Jan 2006
    Location
    London
    Posts
    3,380

    Default Two questions

    1. Sometimes when I'm logging into my e-mail account and I'm typing my password in the cursor somehow automatically clicks itself back onto the username and then if I don't realise it fast enough everyone will be able to see my password. Can anyone explain what is going on here?
    2. This used to happen on my PC at home until I changed mouses/mice. It recently has been happening on a few public computers too. The mouse sometimes adopts a life of it's own and all I see is the cursor zooming off to and fro and often clicks on random things. Explanation?

    Thank you in advance
    ...Geddit?

  2. #2
    ORANGE Dr Unne's Avatar
    Join Date
    Dec 1999
    Posts
    7,394
    Articles
    1
    Contributions
    • Former Administrator
    • Former Developer
    • Former Tech Admin

    Default

    1. Some Javascript is probably moving the keyboard focus to a certain text box on the page, and if you click a text box really fast before it gets a chance, it will possibly move the focus somewhere unexpected. Gmail does this for example. Wait for the page to load entirely in your browser before you start typing.

    2. Could be a crappy optical mouse. Could be an intruder taking over your machine remotely. Or anything in between.

  3. #3
    Ominous Wanderer Tech Admin Samuraid's Avatar
    Join Date
    Oct 2001
    Posts
    5,522

    Default

    Quote Originally Posted by Dr Unne
    1. Some Javascript is probably moving the keyboard focus to a certain text box on the page, and if you click a text box really fast before it gets a chance, it will possibly move the focus somewhere unexpected. Gmail does this for example. Wait for the page to load entirely in your browser before you start typing.
    Confirmed.

    Code:
    function setFocus() {	
      if (document.login_form.login.value == '') {
        document.login_form.login.focus(); 
      }
    }
    That's the exact code Yahoo.com uses.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •