Reputation: 12064
Mu my chrome extension is infact a simple EXTERNAM iframe.
<iframe src="http://www.example.com/index.php"></iframe>
My goal is that index.php (inside the iframe)can modify
chrome.browserAction.setBadgetText
Is such thing possible with external Iframe ?
reagrds
Upvotes: 1
Views: 195
Reputation: 77571
You can do so with messaging. A more detailed answer is here, but in a nutshell:
example.com
as an appropriate pattern to "externally_connectable"
in the manifest.example.com
page that sends a message to the extension.Upvotes: 2