javascript 谷歌浏览器错误?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/11335835/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-26 12:49:48  来源:igfitidea点击:

google chrome bug?

javascriptgoogle-chrome

提问by Aladdin Mhemed

this message appears all the time in chrome developer tool's console:

此消息一直出现在 chrome 开发者工具的控制台中:

Port error: Could not establish connection. Receiving end does not exist. miscellaneous_bindings:232
chromeHidden.Port.dispatchOnDisconnect miscellaneous_bindings:232
Error in event handler for 'undefined': Cannot read property 'instanceId' of undefined TypeError: Cannot read property 'instanceId' of undefined
    at [object Object].<anonymous> (chrome-extension://mgijmajocgfcbeboacabfgobmjgjcoja/content_js_min.js:2:372)
    at chrome-extension://mgijmajocgfcbeboacabfgobmjgjcoja/content_js_min.js:1:182
    at miscellaneous_bindings:276:11
    at [object Object].dispatch (event_bindings:203:41)
    at Object.<anonymous> (miscellaneous_bindings:235:27) event_bindings:207
chrome.Event.dispatch event_bindings:207
chromeHidden.Port.dispatchOnDisconnect miscellaneous_bindings:235

is this a bug in chrome or there is something wrong in my chrome installation?

这是 chrome 中的错误还是我的 chrome 安装有问题?

采纳答案by StackExchange What The Heck

Based on some googling, this is a problem with a chrome extension, but it may not be clear which. (For me, it was Feedly).

基于一些谷歌搜索,这是 chrome 扩展的问题,但可能不清楚是哪个。(对我来说,它是 Feedly)。

The quickest way to find out which is causing the problem:

找出问题原因的最快方法:

  1. Disable all your chrome extensions. (Chrome menu > tools > extensions)
  2. Refresh a page - hopefully the port error should be gone now
  3. Re-enable your extensions one by one, refreshing the page after each, 'til the error pops up again in the console. You should now have your culprit.
  1. 禁用所有 chrome 扩展程序。(Chrome 菜单 > 工具 > 扩展)
  2. 刷新页面 - 希望端口错误现在应该消失
  3. 一个一个地重新启用你的扩展,在每个扩展之后刷新页面,直到错误再次在控制台中弹出。你现在应该知道你的罪魁祸首了。

I know this could be a pain if there are a lot of extensions :/ personally, I took it as a chance to prune the unused / unworthy extensions while I was going through them.

我知道如果有很多扩展,这可能会很痛苦:/就我个人而言,我把它当作一个机会,在我浏览它们时修剪未使用的/不值得的扩展。

回答by Trufa

It seems to be a problem with the Google Dictionary (by Google)

似乎是谷歌词典的问题(由谷歌提供)

This scriptdoesn't seem to exist or is not accessible by that port.

该脚本似乎不存在或无法通过该端口访问。