我以为我之前找到了解决方案(参见我的博客):
I thought I'd found the solution a while ago (see my blog):
如果你得到了JavaScript(或者应该是JScript)错误无法从释放的脚本执行代码 - 尝试移动头部中的任何元标记,以便它们位于脚本标记之前。
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.
...但根据最新的博客评论之一,我建议的修复可能不适用于所有人。我认为打开StackOverflow社区会很好....
...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?
推荐答案听起来你遇到了一些标签处理方式的错误/问题或者您对试图执行方法的已发布对象有引用。
It sounds like you've hit a bug/problem in the way some tags are handled or that you have references to released objects on which you are trying to execute methods.
首先我移动任何< meta> 标签之前的任何< script> 标签这里和其他许多地方。
First I'd move any <meta> tags before any <script> tags as suggested here and numerous other places.
然后检查你是否有讨论的页面/安全问题此处。
Then check to see if you have page/security issues discussed here.
更多推荐
导致错误的原因是“无法从已释放的脚本执行代码”
发布评论