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))

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

  • 1Password
  • Pinterest
参考资料:https://stackoverflow.com/questions/53919591/chrome-angular-unchecked-runtime-lasterror-the-message-port-closed-before-a-res

转载于:https://www.cnblogs.com/zhuxiaoxi/p/10857509.html

你可能感兴趣的:(Chrome报错提示Unchecked runtime.lastError: The message port closed before a response was received....)