Get Rid of Syntax Error

 

Syntax error, also called  script error, is caused by incorrect code that displays an error message or results in a Web page that does not load correctly. Although syntax error may seems  very difficult to be understand, it is actually simple to be settled. In most of the cases, a syntax error can be solved by altering the browser settings.

 

For Internet Explorer (IE), the solution is:

  1. Open Internet explorer on your desktop
  2. Go to upper tool bar, click “Tools”  and select “Internet Options.” This will display the Internet Options window.
  3. Go to the “Advanced” tab and scroll down to the “Browsing” section.
  4. Remove the check from the box for “Disable script debugging (Internet Explorer),” “Disable script debugging (Other)” and “Display a notification about every script error.”
  5. Click the “Apply” button to save the changes. Click the “OK” button to close the Internet Options window.
  6. Close and restart the Internet Explorer browser for the changes you made to take effect.

 

For Firefox, the solution is:

  • Open Mozilla firefox from the desktop icon.
  • Type “about:config” into the address bar and press the “Enter” key. Type “dom.max_script_run_time” into the Filter text box and press the “Enter” key.
  • Double-click “dom.max_script_run_time” to display the Enter Integer Value dialog box.
  • Input a value of “10″ or “15″ into the text box and click the “OK” button to save the change.
  • Close and then restart the Firefox browser for the change to take effect.

 

Additional suggestion: If altering the script setting does not solve the syntax error, there may be more serious problem. It is suggested that you download a registry cleaner in your computer, install it and do a thorough scan of your system to remove the registry errors. It will make sure that your browser is not infected or blocked by corrupted registry.