Skip to content

Files

Latest commit

1641deb · Mar 10, 2015

History

History

MessageManager

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Mar 10, 2015
Mar 10, 2015
Mar 10, 2015
Mar 10, 2015
Mar 10, 2015

README.md

Message Manager

An example extension showing how to communicate between a chrome scope (extension) and content scope (panel iframe with type="content")

Instructions

  1. Install the extension
  2. Open developer tools Toolbox (F12 or Menu -> Developer -> Toogle Tools)
  3. Open Browser Console (Menu -> Developer -> Browser Console))
  4. Select the My Panel panel
  5. You should see "Message from chrome: Hello from chrome scope!" in the console
  6. Click anywhere in the panel content
  7. You should see "Message from content: Hello from content scope!" in the console

Further Resources