Post Reply 
timers to buttons failing
Jul. 18, 2009, 04:12 AM
Post: #1
timers to buttons failing
I've encountered a very strange issue, maybe related to xml requests.
Although the timer trigger buttons appear, timers aren't disabled and the images are autorefreshing.

Someone more knowledgeable than me may want to take a look over here:
http://www.circuitcellar.com/archives/


BTW tested in Opera and IE6. Sidki's previous stable release or latest ALPHA are behaving the same.
Add Thank You Quote this message in a reply
Jul. 18, 2009, 08:15 AM
Post: #2
RE: timers to buttons failing
On that page i get several iframes with changing images. In these iframes the 45s setTimeout timer is intercepted correctly.

The initial images are animated gifs. These gifs behave according to your config settings: They loop continously in the default settings. They are frozen if "freeze animated gifs" is checked. They loop 2-4 times and then freeze, if the "Content-Type: 5c Filter GIFs" header filter is checked.

These iframes also contain a 47s meta refresh tag. In previous config versions meta refresh was intercepted in Standard Mode and above. In the alpha and the last regular config update it is intercepted in Advanced Mode and above only.


Nonetheless, sometimes timer interception doesn't kick in when it should. For instance, if a setTimeout function name contains the substring "menu", but does something else than keeping a menu working.

Or if a setInterval function body contains "clearInterval", but doesn't clear the interval because it's conditional, or is targeting another interval timer.
Add Thank You Quote this message in a reply
Jul. 18, 2009, 12:17 PM
Post: #3
RE: timers to buttons failing
(Jul. 18, 2009 08:15 AM)sidki3003 Wrote:  These iframes also contain a 47s meta refresh tag. In previous config versions meta refresh was intercepted in Standard Mode and above. In the alpha and the last regular config update it is intercepted in Advanced Mode and above only.
It was the meta refresh tag. Changed to Advanced mode, and the gifs aren't requested anymore. Thanks for pointing this out.

(Jul. 18, 2009 08:15 AM)sidki3003 Wrote:  Nonetheless, sometimes timer interception doesn't kick in when it should. For instance, if a setTimeout function name contains the substring "menu", but does something else than keeping a menu working.

Or if a setInterval function body contains "clearInterval", but doesn't clear the interval because it's conditional, or is targeting another interval timer.
This could be a nice addition to the docs. Wink

Thanks!
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: