Skip to content

Instantly share code, notes, and snippets.

@keighty
Created October 26, 2016 03:43
Show Gist options
  • Select an option

  • Save keighty/56db2fcd561b6fe81ddff8e6b6f4de0d to your computer and use it in GitHub Desktop.

Select an option

Save keighty/56db2fcd561b6fe81ddff8e6b6f4de0d to your computer and use it in GitHub Desktop.
Basic project outline for creating a dev-tools extension
<!DOCTYPE html>
<html>
<body>
<script src="devtools.js"></script>
</body>
</html>
chrome.devtools.panels.create("Test Extension", "", "panel.html");
{
"name": "test panel",
"version": "0.1.1",
"manifest_version": 2,
"description": "test devtools panel",
"devtools_page": "devtools.html",
"permissions": [
"http://*/*",
"https://*/*"
]
}
<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