5

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?

6
  • Visiting about:plugins and about:extensions should give you some idea of the 3rd party things hooked into chrome. Sep 9, 2014 at 21:35
  • Have you unloaded all the extensions and plugins listed and then re-enabled one by one to see when the error re-appears? Sep 9, 2014 at 23:10
  • no I was trying to avoid doing that.. i have about 40 extensions.. the error happens rarely at random times.. i have seen it in the past while developing.. doing it that way is just way to tedious Sep 9, 2014 at 23:26
  • locate manifest.json | xargs -I{} grep -i "page-state-tracker.js" "{}" or similar with find. That will look through all the manifest.json, which contain the resources of the extensions, which should define the misbehaving page-state-tracker.js Sep 9, 2014 at 23:39
  • looks like it is live-reload extension.. now how do I figure out if it is acting maliciously or not? was it posting to my localhost server .. is their a log or something that would give me this info? Sep 10, 2014 at 0:03

2 Answers 2

8

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

1
  • 2
    Thanks for doing the search, that extension was the culprit for me too.
    – ciscoheat
    Dec 21, 2014 at 2:44
3

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" {} \;

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .