【问题标题】:Chrome Uncaught Syntaxerror: Unexpected end of inputChrome未捕获语法错误:输入意外结束
【发布时间】:2012-01-09 19:07:00
【问题描述】:

代码:

http://pastebin.com/LS1KeQ9t

我看不出有什么问题。为什么 Google Chrome 控制台会在我的 .js 文件末尾显示该错误?

【问题讨论】:

  • 对我来说很好,问题一定出在其他地方。
  • 你能建立一个页面显示记录的错误吗?

标签: google-chrome google-chrome-devtools


【解决方案1】:

Chrome 有防止 DDoS 攻击的机制,你可以阅读它http://dev.chromium.org/throttling

这对我来说会导致错误。试着关掉它,输入这个:

chrome://net-internals/#httpThrottling

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2023-03-03
    • 2020-01-08
    • 2021-01-09
    • 1970-01-01
    • 2014-09-30
    • 1970-01-01
    • 2023-03-15
    • 1970-01-01
    相关资源
    最近更新 更多