Created
October 26, 2016 03:43
-
-
Save keighty/56db2fcd561b6fe81ddff8e6b6f4de0d to your computer and use it in GitHub Desktop.
Basic project outline for creating a dev-tools extension
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <body> | |
| <script src="devtools.js"></script> | |
| </body> | |
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| chrome.devtools.panels.create("Test Extension", "", "panel.html"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "test panel", | |
| "version": "0.1.1", | |
| "manifest_version": 2, | |
| "description": "test devtools panel", | |
| "devtools_page": "devtools.html", | |
| "permissions": [ | |
| "http://*/*", | |
| "https://*/*" | |
| ] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <body> | |
| <h2>Hello panel.html</h2> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment