If you're pretty sure you did everything right, but it's not working anyway - take counsel of one's pillow. Try incognito mode, disable all other extensions, go get some cofeewater. Make sure your background/content scripts are updated, loaded (reloaded) and available to each other at the very same moment you're trying to pass a message. You know it all well already? Still doesn't work? You must've messed scripts up. onMessage' if you don't need to support the Chrome oldest versions. How to handle it - get and process (onMessage).This article is a great showcase of what and in what cases you should be doing to make a chat between your scripts. Google writes pretty decent tutorials and explanations, so I won't be copywriting it. There are actually three main points what could go wrong if you're facing this problem with your extensions: Not following the official API Let's see why it's trickier than it seems like. I have personally spent a tremendous amount of time investigating this problem. Click to change colors Double click to reset Chrome Extension “Receiving end does not exist.” Chrome Extension “Receiving end does not exist.” You need to enable JavaScript to see this website.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |