nomadsounds.blogg.se

How to solve unresponsive script firefox
How to solve unresponsive script firefox





  1. How to solve unresponsive script firefox code#
  2. How to solve unresponsive script firefox windows#

My globalįunction then calls the event handler I already have in my "class". Into a regular global function (I generally use prototype based "classes" for all my Silverlight work) by setting completed="timerTick" in my carousel xaml instead of using the Silverlight.createDelegate(.) to add an event handler at runtime.

How to solve unresponsive script firefox code#

After trying various other ideas I decided to move the timer "Completed" handler code I started out with some basic JavaScript optimization (reducing white-space, comments, variable names, moving the handler code to the top of the.

how to solve unresponsive script firefox

Problem solved (at least for the PC's I'm able to test on - need to test this on a really old steam engine I have lying around). The settings I have now (timer fires everyģ0ms) are just about perfect in both browsers, but Firefox eventually whinges about it. Trying to up it beyond which Firefox "likes" it causes poor animation, as it is either slow (because of the fine movement I am performing) or jerky because I have to increase the amount of movement to compensate. I know I am pushing it with the very small duration required, but I have tried not using a storyboad to drive this and use the bog standard JavaScript "setInterva()l" instead whilst this does not cause the Firefox dialog, the animation is jerky at times. This works fine in IE, but in Firefox after about 2 mins I will get an "unresponsive script" dialog - either option (stop, or continue) makes no difference to the app as it keeps running ok, until the next 2 mins has passed and I get the same warning.

how to solve unresponsive script firefox

Then start the timer again (note the restart: I do all my UI updates and then restart the timer so it only runs again after the updates) - the amount of movement I perform is quite small to keep things smooth. Basically I use a storyboad for this start it, then on the "Completed" event move my UI items (if they need to move based on the direction flags), The timer has to run at quite a rapid rate to keep the animation I am performing smooth (about 30ms i.e. If you change browsers, does that help (to Chrome or IE for example)?ĭo you notice it happening only when specific video ads are being played next to the comments section? If so, it might be these ads, as you suggest, that are causing the problem.I have a timer driven V1.0 app (a rotating carousel type system, rather like some of the examples out there on the web already) - user moves mouse over a move left or right graphic which sets flags accordingly. What are the actual errors that these sources are flagging? The second is a web page statistic tool that Kongregate uses (specifically it is there to help safeguard digital advertisers from fraud). The problem is not limited to one game.ĭo I guess correctly that your page is unresponsive and so you looked at the error log of your browser, and those two scripts were throwing errors?Īlso, the 1st script you gave seems to actually be the URL of the page itself (looks like you did a search on “Kongregate chat” in the “search games” box and selected the Kongregate Chat game).

how to solve unresponsive script firefox

Here are examples of the kinds of scripts that are generating error messages. This makes the whole webpage very unresponsive.

How to solve unresponsive script firefox windows#

(Latest versions of firefox, flash and windows 7).

how to solve unresponsive script firefox

> The past week ago i’ve been having trouble with unresponsive scripts in firefox.







How to solve unresponsive script firefox