Bungie.net Community
This topic has moved here: Subject: "Your Javascript can't keep up with my typing speed"
  • Subject: "Your Javascript can't keep up with my typing speed"
Subject: "Your Javascript can't keep up with my typing speed"
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

This is evident in Firefox 2.0.0.9 Final, Firefox 3.0a (Gran Paradiso Alpha) and all of the other Alphas that followed it and now Firefox 3.0b1 (Firefox 3 Beta 1) when typing in the textarea for "Body" i.e. the place where I typed this message, with Javascript enabled it lags.

What I mean is if I type a sentence, I have to wait once I have finished for it to show up on the screen (which goes at about 2-3 characters per second) because you use Javascript to check how many characters I have used up.

Now the only viable response I would expect from anywhere upon posting something like this would be "Then disable Javascript" well maybe a "Ok, we're on it - should be fixed soon" but I would expect the first response.

Thing is, Bungie.net requires Javascript so that's not an option. While I can temporarily disable Javascript when typing then re-enable it before posting, that kind of has a detrimental effect on everything. That means I have to do something I shouldn't because of a "feature" on your site. Slight accessibility problem? Well usability.

Is there any chance the lovely Bungie.net programmer chaps could look into this?

No doubt it'll be easy to fix. Either remove the feature altogether and just use server-side checking for character length (which is not hard at all) rather than client-side, or maybe have it update the counter every 5-10 seconds (which would cause a spot of lag every 5-10 seconds but that is much better than how it is now).

Thing is, I've made a Javascript character checker before very similar to yours and it worked in every browser I tried and I don't know very much Javascript at all, the guys you have are no doubt highly experienced...

End essay. xD

[Edited on 11.30.2007 10:53 AM PST]

  • 11.30.2007 10:51 AM PDT

Old school Bungie, born and raised,
In the Septagon is where I spend most of my days.
Relaxin', maxin', posting all cool,
Talking about Halo, life and some school.
Got in one little argument, and the mods got scared,
they said "You're gonna get banned and your member title'll be bare!"

Ever think it could be a problem on your end? I'm thinking you're running too much, taking up all of your RAM and VRAM for petty uses.

  • 11.30.2007 10:55 AM PDT

Just a FYI: I use FF 2.0.0.10 on WinXP and don't have any typing "lag" so it may not be the site itself.

  • 11.30.2007 11:19 AM PDT
  • gamertag: [none]
  • user homepage:

If there's any lag it's most likely on your end. I would get it from time to time when I had a slower machine, but there's none right now for me, and I'm running FF 2.0.0.10.

  • 11.30.2007 1:07 PM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

I get typing lag sometimes, but that is just sometimes..

  • 11.30.2007 1:31 PM PDT
  •  | 
  • Exalted Legendary Member

I actually get problems on occasion as well, that cause me to have to type my reply in Notepad so that I don't get agitated (this is sometimes).

Occasionally, when I type, what I'm assuming is the Javascript can't keep up and it lags, effectively just truncating the middle of my sentence. When I get going too fast, it just lops off part of words. Sometimes I don't even notice. I do think that it's probably my computer though.

  • 11.30.2007 1:49 PM PDT

Official Town Drunk of Sandwichia. Nation of the Flood.
MBT - Impossible Just Happened
* How is it that "Fat Chance" and "Slim Chance" mean the same thing?
* If you choke a Smurf, what color will it turn?

XBOX User Space profile

so, your using Firefox 3.0 beta 1 right now?

if so, there may be lag due to the fact that it's a beta.

  • 11.30.2007 1:53 PM PDT
  • gamertag: [none]
  • user homepage:

Destinypedia - The Wiki for Bungie's Destiny
Posted by: DEATHPIMP72
Anyone but Foman. He smells like cheese.

Lag's on your end -- I rarely experience any lag, and when I do, it's usually because my internet or computer are running slow in general. I understand that you want the site to do the work instead of the client, but my computer is by no means superfast or state-of-the-art and it has no typing lag. Have you tried running fewer programs or upgrading your internet connection? I'm not much of a tech guy but that's where I'd start.

[Edited on 11.30.2007 2:08 PM PST]

  • 11.30.2007 2:07 PM PDT

Tom Achronos
Bungie.net Overlord
twitter: http://twitter.com/Achronos

"I have no words that would do justice to the atrocities you commit to the English language, as well as your continued assaults on the concepts of basic literacy and logical reasoning."

That is just a client side counter (there is also a server side validator). But if your browser is running slow, you'll notice a delay. It likely means you have a slow CPU or low memory or something.

At least for the production 2.x releases of Firefox. Those are tested here. Firefox 3 is not a supported browser here as it is not released. You're on your own there.

  • 11.30.2007 3:14 PM PDT

I'll be on my own side.

I'm on a 5 year old Dell, with 256 MB of RAM, running Photoshop CS3, WMP11, and MS Word, and I've got no lag.

[Edited on 11.30.2007 3:55 PM PST]

  • 11.30.2007 3:55 PM PDT

Formerly known as BASs13 and One Point Three

Posted by: Nedus
I'm on a 5 year old Dell, with 256 MB of RAM, running Photoshop CS3, WMP11, and MS Word, and I've got no lag.
Then you are obviously not using the Firefox browser. I think IE works a TON smoother for B.net.

  • 11.30.2007 5:32 PM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

No delay whatsoever. Using FF 2.0.0.9.

Do you have Firebug enabled? While it works it's way through the DOM I occasionally notice delays on pages that are script-heavy.

function characterLimiterDisplay(fieldToLimitId, counterFieldId, maxLimit) {
if (document.getElementById && fieldToLimitId && counterFieldId && (maxLimit > 0)) {
var fieldToLimit = document.getElementById(fieldToLimitId);
var counterField = document.getElementById(counterFieldId);
if (fieldToLimit)
{
if (fieldToLimit.value.length > maxLimit)
counterField.innerHTML = '<span class="validatormsg">' + (fieldToLimit.value.length - maxLimit) + ' characters over limit</span>';
else
counterField.innerHTML = (maxLimit - fieldToLimit.value.length) + ' characters remaining';
}
}
}

I kind of doubt Firefox is choking on this, personally.

[Edited on 11.30.2007 8:00 PM PST]

  • 11.30.2007 7:55 PM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

Posted by: Achronos
That is just a client side counter (there is also a server side validator). But if your browser is running slow, you'll notice a delay. It likely means you have a slow CPU or low memory or something.

At least for the production 2.x releases of Firefox. Those are tested here. Firefox 3 is not a supported browser here as it is not released. You're on your own there.
their is a bad link for me when i hit new topic other than that this site is like the weirdest sandwich I have ever tasted with words and opinions.

[Edited on 11.30.2007 9:16 PM PST]

  • 11.30.2007 9:15 PM PDT
  • gamertag: [none]
  • user homepage:

SPOOOOOOOOOOOOOOOOOOON!

Whuile using my PC at home, which is relatively new, I have no lag problems whatsoever. When using a computer at my employers office, which are all old and slow, I have a few seconds of lag. Which leads me to believe that its the computer or the browser that you're using, rather than the site.

Perhaps a de-fraging and/or system organizing day is in order.

  • 12.01.2007 1:07 PM PDT

"But you were dead a thousand times. Hopeless encounters successfully won. A man long dead, grafted to machines your builders did not understand. You follow the path, fitting into an infinite pattern. Your to manipulate, destroy and rebuild. Now, in the quantum moment before closure, when all become one. One moment left. One point of space and time. I know who you are. You are destiny."

I have no lag. EVAR. ( Because of my uber-computer. XD )

/cortanawins :)

I switch between using IE and FF. Not sure why ... <__<

  • 12.01.2007 1:14 PM PDT

Tom Achronos
Bungie.net Overlord
twitter: http://twitter.com/Achronos

"I have no words that would do justice to the atrocities you commit to the English language, as well as your continued assaults on the concepts of basic literacy and logical reasoning."

Most of that perceived difference is due to Firefox's relatively slow scripting engine. People like to say Firefox is faster than IE, but it isn't, especially on Ajax style sites like Bungie.net. However, I'm pretty sure the Firefox guys are working on that particular issue. But aside from that, both browsers run very well on bungie.net.

Posted by: Fuzzy OneThree
[quote]Posted by: Nedus
Then you are obviously not using the Firefox browser. I think IE works a TON smoother for B.net.

  • 12.01.2007 3:07 PM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

I use firefox(No idea what version) and my typing is kind of slow to appear on the screen.

However, IE is just fine. But I can make do because I generally don't make long posts I guess.

  • 12.01.2007 4:07 PM PDT

Frank O'Connor is a 12-year veteran of the videogame magazine industry and has therefore never worked an honest day in his life.

I'm pretty sure the scripting for this should be better after firefox 3.0 is released as it uses a better rendering engine and has some behind the scenes changes that makes it run faster. But the real fix that most of you guys are looking for is far off in the firefox development cycle. Firefox 4.0 will use a better scripting engine that was custom built for firefox. While this is only based off of some chatter on what needs to be improved and off of a few "notes" that developers of firefox have posted it likely won't be out until fall of 2008 at the earliest. I'll see if I can dig more up on the features but for now that should please some of you guys.

  • 12.01.2007 6:33 PM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

Posted by: Nedus
I'm on a 5 year old Dell, with 256 MB of RAM, running Photoshop CS3, WMP11, and MS Word, and I've got no lag.
6 for meh.

  • 12.01.2007 8:03 PM PDT

Posted by: Jay120171
Just a FYI: I use FF 2.0.0.10 on WinXP and don't have any typing "lag" so it may not be the site itself.

it's firefox.

  • 12.01.2007 10:11 PM PDT

Posted by: Achronos
Most of that perceived difference is due to Firefox's relatively slow scripting engine. People like to say Firefox is faster than IE, but it isn't, especially on Ajax style sites like Bungie.net. However, I'm pretty sure the Firefox guys are working on that particular issue. But aside from that, both browsers run very well on bungie.net.

Posted by: Fuzzy OneThree
[quote]Posted by: Nedus
Then you are obviously not using the Firefox browser. I think IE works a TON smoother for B.net.


Plus you can always use the IE tab add-on for Firefox for all you 'fox-lovers out there...

  • 12.04.2007 11:12 AM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

I do have this problem from time to time, but rarely.

(BTW, I can't make topics for some odd reason, and I see no "Help" forum. Any suggestions on this?)

  • 12.04.2007 11:53 AM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

Posted by: Achronos
That is just a client side counter (there is also a server side validator). But if your browser is running slow, you'll notice a delay. It likely means you have a slow CPU or low memory or something.

At least for the production 2.x releases of Firefox. Those are tested here. Firefox 3 is not a supported browser here as it is not released. You're on your own there.


Well I have 2 GB of RAM and a Pentium 4 Processor which is 2.7 GHZ I believe. So I doubt it is anything to do with my PC. I had the same problem on my old PC and this is brand new; I've only had it for about a Month.

The thing is I experience this on 2.x releases of Firefox as well.

Thanks for your replies anyhow.

EDIT: The problem I am having is also evident in Safari 3, I.E. 6/7, Opera 9 and a few other non-main-stream Browsers I tested.

It must be my Computer, anyone have any ideas what exactly it could be though? My CPU and RAM is more than sufficient for browsing. Bungie.net is the only site this happens on.

[Edited on 12.07.2007 2:42 AM PST]

  • 12.07.2007 2:26 AM PDT