Avast WEBforum

Other => General Topics => Topic started by: polonus on January 30, 2009, 11:51:34 PM

Title: Check your browser for "too much recursion"...
Post by: polonus on January 30, 2009, 11:51:34 PM
Hi malware fighters,

Diving deep deep into the inner workings of the Javascript engine your browser.
Polonus is exploring it for the good of all...
Definitely there is something to learn here.
IE has them errors, but Mozilla is renowned for this one : "too much recursion - error warning from a particular script" -
Check your browser here for it: http://calculist.blogspot.com/2005/06/too-much-recursion_111886156463188710.html
Enable javascript if you have NoScript for the site, and click that button.
Interesting to have your results in this thread.
For GoogleChrome everything is OK with 5000 5000

polonus
Title: Re: Check your browser for "too much recursion"...
Post by: Husk on January 31, 2009, 01:56:01 AM
>.< Is this meant to happen?!?!
Title: Re: Check your browser for "too much recursion"...
Post by: Tarq57 on January 31, 2009, 01:59:44 AM
Same here.
What is one supposed to do to address this?
Title: Re: Check your browser for "too much recursion"...
Post by: rdmaloyjr on January 31, 2009, 02:19:36 AM
With Opera 9.63 nothing happens.

5000 5000 in Iron.

In IE7 I get "[object error]". ???
Title: Re: Check your browser for "too much recursion"...
Post by: CharleyO on January 31, 2009, 09:03:41 AM
***

Yep ... in Opera 9.63 nothing happens.


***
Title: Re: Check your browser for "too much recursion"...
Post by: YoKenny on January 31, 2009, 11:42:43 AM
Quote
In IE7 I get "[object error]".  ???
Me to.
Title: Re: Check your browser for "too much recursion"...
Post by: ardvark on January 31, 2009, 10:07:43 PM
Diving deep deep into the inner workings of the Javascript engine your browser.
Polonus is exploring it for the good of all...

Hi Polonus...

Thank you for your kind efforts. :)

I get the same error as YoKenny using IE6 (mother's notebook.)

May God Bless you!
Title: Re: Check your browser for "too much recursion"...
Post by: YoKenny on January 31, 2009, 10:28:58 PM
Diving deep deep into the inner workings of the Javascript engine your browser.
Polonus is exploring it for the good of all...

Hi Polonus...

Thank you for your kind efforts. :)

I get the same error as YoKenny using IE6 (mother's notebook.)

Turn your mother on to the wonders of tabbed browsing with IE7 plus it is much more secure and IE7Pro has nice features.
Title: Re: Check your browser for "too much recursion"...
Post by: polonus on January 31, 2009, 10:29:19 PM
Hi ardvark,

I am going to explain what this is all about to you in some more detail. It has to do with the Javascript machine inside the Firefox browser as I said, and how it runs certain script code, e.g. JavaScript. The users of IE get an error because the maker of the checker button developed this checker only with the  Firefox browser in mind, and somehow it also functions in GoogleChrome because of a similar JS machine I guess.

Recursion is a difficult java-script technique where a function is pointing to itself, loops and timeouts and errors can easily occur. But is is a very strong technique and can help the developer out of many predicaments. Some browsers don't like recursion in java-script at all.
The way around it is to use setTimeout() to call the function again so as to make the recursive call asynchronous (ie it finishes the one iteration of the function completely and then calls it again instead of trying to call it while it is still running..

I keep an eye out for errors in my Error Console in Firefox and have installed Karma Blocker add-on in the browser, and that produced this particular error, that is all,

polonus
Title: Re: Check your browser for "too much recursion"...
Post by: ardvark on February 01, 2009, 03:56:29 AM
Turn your mother on to the wonders of tabbed browsing with IE7 plus it is much more secure and IE7Pro has nice features.

Hi YoKenny...

I would agree, however, when she did try IE7 (briefly,) she did not care at all for the new look and layout.

@polonus: Thank you for your detailed description of what recursion is and why those of us who use Internet Explorer get a different message. :)

Best Regards...
Title: Re: Check your browser for "too much recursion"...
Post by: Tarq57 on February 01, 2009, 06:54:06 AM
Quote
The way around it is to use setTimeout() to call the function again so as to make the recursive call asynchronous (ie it finishes the one iteration of the function completely and then calls it again instead of trying to call it while it is still running..
Any chance you could give a step - by -step for this, please?
cannot find "set Timeout " anywhere. Clearly I'm not looking in the correct place.
Title: Re: Check your browser for "too much recursion"...
Post by: polonus on February 01, 2009, 03:28:14 PM
Hi Tarq57,

This has nothing to do with settings inside your browser, this is for developers of JavaScript code to better write it for a specific javaScript machine inside a particular browser, here the JavaScript machine of Firefox. There is not much you can do, but the developer of the particular add-on has to change his code for a better one. You are not in to writing JavaScript, are you? Then above messages are just informational. But some people are interested what passes on under the hood of the browser, also security wise and want to understand why they see certain errors in the Error Console of the browser caused by third party extensions.
I for one am a tester of Minefield, the nightly new builds of Fx, and take an interest in script security, also as "luntrus" I am a regular poster in the NoScript forum thread of MozillaZine webforum. My questions to the developer of this grandiose script security extension, the unforgettable NoScript, Giorgio Maone, the builder of the only "in-browser cop" taught me a lot of things and opened my eyes up to an enormous amount of threats to the user of the browser, that most general users are unaware of or do not fully understand even, sometimes I have to further study these things because they can be rather complicated and multifaceted.
Whenever I find something that could lead to malfunctioning, new threats like using TinyURL for malicious redirects under the radar, etc. etc. I report here just for the education of those that are also interested in these subjects. So use NoScript and you are secure against existing, new and even not dreamt of threats,

polonus
Title: Re: Check your browser for "too much recursion"...
Post by: Tarq57 on February 02, 2009, 01:53:34 AM
Thanks for that.
Title: Re: Check your browser for "too much recursion"...
Post by: amtola on February 17, 2009, 04:33:02 PM
Java Script error!!!!!

Since I installed Avast, I have suffered with Java Script error or Void(o) issue that I coud not open a lot of pages or bullets or downloads from the internet. I think script blocking took place that I could not find and fix in the system. Need a Big HELP!!!! Please!!!
Title: Re: Check your browser for "too much recursion"...
Post by: Lisandro on February 17, 2009, 04:42:07 PM
avast shouldn't be causing any trouble... which browser do you use? If Firefox, do you use NoScript? Is there any other antivirus in this computer? Had in the past?
Title: Re: Check your browser for "too much recursion"...
Post by: amtola on February 17, 2009, 04:51:07 PM
Internet Explorer 7
Title: Re: Check your browser for "too much recursion"...
Post by: amtola on February 17, 2009, 05:05:59 PM
I have cleaned up all the other antivirus softwares and remained with Avast Home edition. The Avast installation took place last week and the problem began. I am currently using Intenet explorer 7. could not fix at all whether in this computer or in my laptop.

Too much sufferage.
Title: Re: Check your browser for "too much recursion"...
Post by: Lisandro on February 17, 2009, 11:17:41 PM
Sorry, amtola, I'm empty... maybe trying to repair your IE installation... google could help on this I suppose...
Title: Re: Check your browser for "too much recursion"...
Post by: YoKenny on February 18, 2009, 04:44:19 AM
amtola, go to Add/Remove Programs and un-install all Sun Java applications with all browser windows closed.

A reboot may be necessary.

Download then install Version 6 Update 12
http://www.java.com/en/download/manual.jsp

Run Secunia Online Software Inspector to find other vulnerable applications:
http://secunia.com/vulnerability_scanning/online