We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Søg i Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Læs mere

How do I fix Javascript message that says "too much recursion"?

  • 2 svar
  • 1 har dette problem
  • 7 visninger
  • Seneste svar af cor-el

more options

Hi there, every time that I load up or refresh a webpage in Firefox, I'm getting a message popup from Javascript that says "too much recursion" - I have no idea what this means or how to fix it, but it's gotten to a point where it's making it almost impossible to do anything through Firefox as it's popping up so often. Is there a way to make this stop?

Hi there, every time that I load up or refresh a webpage in Firefox, I'm getting a message popup from Javascript that says "too much recursion" - I have no idea what this means or how to fix it, but it's gotten to a point where it's making it almost impossible to do anything through Firefox as it's popping up so often. Is there a way to make this stop?

Alle svar (2)

more options

Hello lavendermoon, maybe an installed Extension that have problems with their JavaScript is the issue, to check that Try Firefox Safe Mode to see if the problem goes away. Firefox Safe Mode is a troubleshooting mode that temporarily turns off hardware acceleration, resets some settings, and disables add-ons (extensions and themes).

If Firefox is open, you can restart in Firefox Safe Mode from the Help menu:

  • In Firefox 29.0 and above, click the menu button New Fx Menu, click Help Help-29 and select Restart with Add-ons Disabled.
  • In previous Firefox versions, click on the Firefox button at the top left of the Firefox window and click on Help (or click on Help in the Menu bar, if you don't have a Firefox button) then click on Restart with Add-ons Disabled.

If Firefox is not running, you can start Firefox in Safe Mode as follows:

  • On Windows: Hold the Shift key when you open the Firefox desktop or Start menu shortcut.
  • On Mac: Hold the option key while starting Firefox.
  • On Linux: Quit Firefox, go to your Terminal and run firefox -safe-mode
    (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)

When the Firefox Safe Mode window appears, select "Start in Safe Mode".

Safe Mode Fx 15 - Win

If the issue is not present in Firefox Safe Mode, your problem is probably caused by an extension, theme, or hardware acceleration. Please follow the steps in the Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems article to find the cause.

To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.


also try to delete in your profile folder the User.js file you have.

The user.js file does not exist by default. If you create the file, forget it, if you have not create the file then delete the User.js file, to see if the problem goes away (some programs create and write in the file also).

thank you

more options

You can cleanup the prefs to have a fresh start and delete possible user.js and numbered prefs-##.js files and rename (or delete) the prefs.js file to reset all prefs to the default value including prefs set via user.js and prefs that are no longer supported in the current Firefox release.

You can use this button to go to the currently used Firefox profile folder: