File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 1
1
Message Manager
2
2
===============
3
3
An example extension showing how to communicate between a chrome scope
4
- (extension) and content scope (panel ifreame with type="content")
4
+ (extension) and content scope (panel iframe with type="content")
5
5
6
6
Instructions
7
7
------------
8
8
1 . Install the extension
9
- 2 . Open developer tools toolbox (F12 or Menu -> Developer -> Toogle Tools)
10
- 3 . See the ` My Panel ` panel
9
+ 2 . Open developer tools Toolbox (F12 or Menu -> Developer -> Toogle Tools)
10
+ 3 . Open Browser Console (Menu -> Developer -> Browser Console))
11
+ 4 . Select the ` My Panel ` panel
12
+ 5 . You should see "Message from chrome: Hello from chrome scope!" in the console
13
+ 6 . Click anywhere in the panel content
14
+ 7 . You should see "Message from content: Hello from content scope!" in the console
11
15
12
16
Further Resources
13
17
-----------------
18
+ * Firebug.next: https://github.com/firebug/firebug.next
19
+ * DevTools Extension Examples: https://github.com/firebug/devtools-extension-examples
14
20
* Add-on SDK: https://developer.mozilla.org/en-US/Add-ons/SDK
15
21
* DevTools API: https://developer.mozilla.org/en-US/docs/Tools/DevToolsAPI
16
22
* Coding Style: https://github.com/mozilla/addon-sdk/wiki/Coding-style-guide
17
- * DevTools Extension Examples: https://github.com/firebug/devtools-extension-examples
18
23
* DevTools/Hacking: https://wiki.mozilla.org/DevTools/Hacking
You can’t perform that action at this time.
0 commit comments