Seeing an odd error message in Chrome console window?

I get this strange error in Chrome's console window:

Uncaught Error: Attempting to use a disconnected port object
  extensions::messaging:73PortImpl.postMessage 
  extensions::messaging:73publicClass.(anonymous function)  
  extensions::utils:93onVisibilityChange page-state-tracker.js:8

How do I determine which browser extension is causing this?

clicking extensions::messaging says something about catch error to an ajax post?? This is concerning as I'm thinking I have some kind of rogue malware/spyware extension..

Does anyone know how I can determine the extension causing this?


For me it ended up being Awesome Screenshot 3.7.21_0. Found it using the following command:

find ~/Library/Application\ Support/Google/Chrome/Default/Extensions -name "manifest.json" -exec grep -H "page-state-tracker.js" {} \;

Since the extensions are anonymously named, you'll need to probe around a bit to figure out which extension you're dealing with.

If you're not using a mac you'll need to look for the extensions in the proper directory: https://stackoverflow.com/questions/5862215/what-is-a-manifest-json-file-and-where-can-i-find-it-on-my-machine


Chrome extensions define their resources in a file called manifest.json.

Since the error message you are describing calls out page-state-tracker.js you could search through all your system's manifest.json files trying to find one that has a resource which is causing your problem by using something like: locate manifest.json | xargs -I{} grep -i "page-state-tracker.js" "{}" or find / -name 'manifest.json' -exec grep -i "page-state-tracker.js" {} \;