I've been spending several long hours trying to figure out why my Chrome extension wasn't working as it should only to find that apparently the Google Chrome webstore does not allow extensions to do certain things while it's open.
I've read this thread on SO, though it's 2 years old now and the solutions posted did not work for me: Chrome Extension Content Script on https://chrome.google.com/webstore/
I'm running Chrome version 41.0.2272.118 (64-bit)
on OS X Yosemite.
As one of the responses suggested, I've run the command open /Applications/Google\ Chrome.app --args --allow-scripting-gallery;
but my extension's content script will not run in the webstore still. All I'm trying to do is communicate between the content script and background script using chrome.runtime.sendMessage
and chrome.runtime.onMessage
.
Has Google decided to completely remove those capabilities or is there a new command now?