Author Topic: Check your browser for "too much recursion"...  (Read 11660 times)

0 Members and 1 Guest are viewing this topic.

Offline polonus

  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 33891
  • malware fighter
Check your browser for "too much recursion"...
« 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
« Last Edit: January 30, 2009, 11:57:56 PM by polonus »
Cybersecurity is more of an attitude than anything else. Avast Evangelists.

Use NoScript, a limited user account and a virtual machine and be safe(r)!

Husk

  • Guest
Re: Check your browser for "too much recursion"...
« Reply #1 on: January 31, 2009, 01:56:01 AM »
>.< Is this meant to happen?!?!

Offline Tarq57

  • Avast Evangelist
  • Massive Poster
  • ***
  • Posts: 3695
  • If at first you don’t succeed; call it version 1.0
Re: Check your browser for "too much recursion"...
« Reply #2 on: January 31, 2009, 01:59:44 AM »
Same here.
What is one supposed to do to address this?
Windows 10,Windows Firewall,Firefox w/Adblock.

rdmaloyjr

  • Guest
Re: Check your browser for "too much recursion"...
« Reply #3 on: January 31, 2009, 02:19:36 AM »
With Opera 9.63 nothing happens.

5000 5000 in Iron.

In IE7 I get "[object error]". ???

CharleyO

  • Guest
Re: Check your browser for "too much recursion"...
« Reply #4 on: January 31, 2009, 09:03:41 AM »
***

Yep ... in Opera 9.63 nothing happens.


***

YoKenny

  • Guest
Re: Check your browser for "too much recursion"...
« Reply #5 on: January 31, 2009, 11:42:43 AM »
Quote
In IE7 I get "[object error]".  ???
Me to.

ardvark

  • Guest
Re: Check your browser for "too much recursion"...
« Reply #6 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!
« Last Edit: January 31, 2009, 10:11:05 PM by ardvark »

YoKenny

  • Guest
Re: Check your browser for "too much recursion"...
« Reply #7 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.

Offline polonus

  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 33891
  • malware fighter
Re: Check your browser for "too much recursion"...
« Reply #8 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
Cybersecurity is more of an attitude than anything else. Avast Evangelists.

Use NoScript, a limited user account and a virtual machine and be safe(r)!

ardvark

  • Guest
Re: Check your browser for "too much recursion"...
« Reply #9 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...

Offline Tarq57

  • Avast Evangelist
  • Massive Poster
  • ***
  • Posts: 3695
  • If at first you don’t succeed; call it version 1.0
Re: Check your browser for "too much recursion"...
« Reply #10 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.
Windows 10,Windows Firewall,Firefox w/Adblock.

Offline polonus

  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 33891
  • malware fighter
Re: Check your browser for "too much recursion"...
« Reply #11 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
« Last Edit: February 01, 2009, 03:32:40 PM by polonus »
Cybersecurity is more of an attitude than anything else. Avast Evangelists.

Use NoScript, a limited user account and a virtual machine and be safe(r)!

Offline Tarq57

  • Avast Evangelist
  • Massive Poster
  • ***
  • Posts: 3695
  • If at first you don’t succeed; call it version 1.0
Re: Check your browser for "too much recursion"...
« Reply #12 on: February 02, 2009, 01:53:34 AM »
Thanks for that.
Windows 10,Windows Firewall,Firefox w/Adblock.

amtola

  • Guest
Re: Check your browser for "too much recursion"...
« Reply #13 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!!!

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67195
Re: Check your browser for "too much recursion"...
« Reply #14 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?
The best things in life are free.