Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. In IE8 (XP), JS behaves differently if my account has Administrator access???

In IE8 (XP), JS behaves differently if my account has Administrator access???

Scheduled Pinned Locked Moved Web Development
questionjavascriptcollaborationperformancehelp
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jane Williams
    wrote on last edited by
    #1

    I've been charged with the fun task of going through all our existing web applications and seeing how they behave under IE8 (XP, not Vista), with and without compatibility mode. The latest oddity has me baffled, and I wonder if anyone can give me any hints as to where to look. I'll spare you the code (there's a lot of it), but this component has a SELECT, size=10, with about 3000-odd options: it's a list of names. Below it is an input type=text with a JS function attached to an onKeydown that tries to move to the appropriate name in the list depending on what you type in the box: type a W, it moves to the first W in the list of names, and so on. It works. There's a lot of code there, but it works. The problem is that if I'm in IE8, without compatibility mode, and the account I use to log into that PC has Administrator access, it still works, but S-L-O-W-L-Y. Get rid of administrator access, and it's back to full speed. Use compatibility mode, it's back to full speed. I can only assume that when the user has admin access, the JS is doing something in addition to the norm, somewhere. I can't imagine what - I dread to think what! Has anyone seen anything like this before? I'll go through building the code up from the basics and seeing which command has the delay if I have to, but it's going to be a big job. By the way, the application in question is used almost exclusively by our IT support team, so asking them to do without their administrator accounts will not be a popular answer.

    D 1 Reply Last reply
    0
    • J Jane Williams

      I've been charged with the fun task of going through all our existing web applications and seeing how they behave under IE8 (XP, not Vista), with and without compatibility mode. The latest oddity has me baffled, and I wonder if anyone can give me any hints as to where to look. I'll spare you the code (there's a lot of it), but this component has a SELECT, size=10, with about 3000-odd options: it's a list of names. Below it is an input type=text with a JS function attached to an onKeydown that tries to move to the appropriate name in the list depending on what you type in the box: type a W, it moves to the first W in the list of names, and so on. It works. There's a lot of code there, but it works. The problem is that if I'm in IE8, without compatibility mode, and the account I use to log into that PC has Administrator access, it still works, but S-L-O-W-L-Y. Get rid of administrator access, and it's back to full speed. Use compatibility mode, it's back to full speed. I can only assume that when the user has admin access, the JS is doing something in addition to the norm, somewhere. I can't imagine what - I dread to think what! Has anyone seen anything like this before? I'll go through building the code up from the basics and seeing which command has the delay if I have to, but it's going to be a big job. By the way, the application in question is used almost exclusively by our IT support team, so asking them to do without their administrator accounts will not be a popular answer.

      D Offline
      D Offline
      DoctorMick
      wrote on last edited by
      #2

      Can you not use the debugger built in to IE8 to find out which code is taking the time? It'll be easier than building the code up.

      J 1 Reply Last reply
      0
      • D DoctorMick

        Can you not use the debugger built in to IE8 to find out which code is taking the time? It'll be easier than building the code up.

        J Offline
        J Offline
        Jane Williams
        wrote on last edited by
        #3

        You can tell I'm new to IE8, can't you? I'd overlooked that completely. I'll go and find out about the debugger and how to use it, I'm sure Google will show up a tutorial or two. Thanks!

        V 1 Reply Last reply
        0
        • J Jane Williams

          You can tell I'm new to IE8, can't you? I'd overlooked that completely. I'll go and find out about the debugger and how to use it, I'm sure Google will show up a tutorial or two. Thanks!

          V Offline
          V Offline
          Vasudevan Deepak Kumar
          wrote on last edited by
          #4

          Hit F12 from within your IE and it should fire open the debugger for you to go and get started with the pearl-diving venture.

          Vasudevan Deepak Kumar Personal Homepage
          Tech Gossips
          The woods are lovely, dark and deep, But I have promises to keep, And miles to go before I sleep, And miles to go before I sleep!

          J 1 Reply Last reply
          0
          • V Vasudevan Deepak Kumar

            Hit F12 from within your IE and it should fire open the debugger for you to go and get started with the pearl-diving venture.

            Vasudevan Deepak Kumar Personal Homepage
            Tech Gossips
            The woods are lovely, dark and deep, But I have promises to keep, And miles to go before I sleep, And miles to go before I sleep!

            J Offline
            J Offline
            Jane Williams
            wrote on last edited by
            #5

            "Pearl-diving" - what a lovely way of putting it! Thanks, as soon as I'm released from fire-fighting I'll go and do that.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups