Chrome报错提示Unchecked runtime.lastError: The message port closed before a response was received.

通过查询,此错误是Chrome扩展插件引发的。因为Chrome修改了API接口,原来的请求被拦截。(Chrome 73 onwards disallows cross-origin requests in content scripts. (Code in content scripts will now be subjected to the same CORS rules as the page they are running in))chrome

已知会引发这个问题的插件插件

  • 1Password
  • Pinterest
参考资料:https://stackoverflow.com/questions/53919591/chrome-angular-unchecked-runtime-lasterror-the-message-port-closed-before-a-res
相关文章
相关标签/搜索