Why does the browser say "Script error." instead of something meaningful ? This also can happen if Corporate Proxies meddle with asset loading requests. Go to the troubleshooting forum. Identify the Error The error console will open. Source
mrizos 2,102,718 views 52:25 Speed Up Your SLOW Computer in 5 Minutes! - Duration: 6:58. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count). Working... is undefined", whereas if you're not logged in, it might be "Please Login ... check my site
Jake Wright 509,652 views 12:01 How To Clean Your Registry With CCleaner - Duration: 2:22. help 1,389 views 2:08 Internet Explorer® 7: How to disable script error notification in Windows® Vista? - Duration: 1:59. The console will provide you with the error type, the location of the error and the line number The image above shows the error to be in jquery.js on line 2. Error Script Error I'm Ravikiran Janardhana and I'm currently building APIs at TripAdvisor.
Script Error Line 0 Char 0 Code 0
Then open the html page on the same browser. Crossorigin Attribute Not the answer you're looking for? Why?
Sign in to report inappropriate content.
For example, let’s say your application records errors from window.onerror and loads a CDN-hosted AngularJS. I remember having trouble with that at one point. Are you saying that "Script Error." is happening because the remote script is throwing the exception? –Mike Sherov Oct 29 '11 at 17:27 1 @MikeSherov: in a nutshell, yes. Check This Out Open the Console Go to the screen where you are experiencing the error.
More info about CORS here : http://enable-cors.org/ share|improve this answer edited Oct 12 '12 at 20:46 sam 9,45612226 answered Jun 20 '12 at 11:51 adig 2,9001621 2 Good summary: blog.errorception.com/2012/12/… The auto translate feature of Google Chrome. Replace one-liner sed/awk with python The Loose Astronaut What's the verb for "to drink small amounts of drink"? WebPro Education 62,015 views 2:31 [TUTORIAL] Como solucionar El Error De Script 2014 - Duration: 7:10.
An alternative solution: try/catch Sometimes, we’re not always in a position to be able to adjust the HTTP headers of scripts our web application is consuming. Antony Raphel 103,644 views 2:40 Script Error - Duration: 2:33. So instead of “Script error”, the onerror example from the beginning will yield: ReferenceError: bar is not defined", "http://another-domain.com/app.js", 2, 1, [Object Error] The Experts Ben Vinegar Don't just log bugs, If you want to use CORS authentication, you may also specify credentials on how to load the asset.
Many sites still function even if scripting is disabled. It cloaks the true nature of your front-end errors behind its veil of obscurity. The console show you the error, the error location and the line number: The image above shows the error to be in jquery.js on line 2. This will result in a script error, but the error is interesting because it can tell us if you're logged in or not.