What causes the error "Can't execute code from a freed script"

Posted by tjrobinson on Stack Overflow See other posts from Stack Overflow or by tjrobinson
Published on 2008-09-17T13:24:40Z Indexed on 2010/04/16 0:03 UTC
Read the original article Hit count: 465

I thought I'd found the solution a while ago (see my blog):

If you ever get the JavaScript (or should that be JScript) error "Can't execute code from a freed script" - try moving any meta tags in the head so that they're before your script tags.

...but based on one of the most recent blog comments, the fix I suggested may not work for everyone. I thought this would be a good one to open up to the StackOverflow community....

What causes the error "Can't execute code from a freed script" and what are the solutions/workarounds?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about internet-explorer