Chrome Extention Port error: Could not establish connection. Receiving end does not exist
问题 I am getting this error when trying to send a message from popup to my contentscript. What I am trying to do is get the document of the current tab from my content.js and send it to the popup. How can I fix this erro? { "manifest_version": 2, "name": "Chrome Snapshot", "description": "Save images and screenshots of sites to Dropbox.", "version": "1.0", "permissions": [ "<all_urls>", "tabs" ], "browser_action": { "default_icon": "icon.png", "default_popup": "html/popup.html" }, "background": {