Skip to content

Instantly share code, notes, and snippets.

@mitchallen
Last active February 26, 2023 20:08
Show Gist options
  • Save mitchallen/3d89e355b0b5ad1a587f8527cfa055b9 to your computer and use it in GitHub Desktop.
Save mitchallen/3d89e355b0b5ad1a587f8527cfa055b9 to your computer and use it in GitHub Desktop.
Example Manifest V3 Chrome Extension File
{
"name": "My Extension",
"version": "1.0",
"manifest_version": 3,
"description": "Description of my extension",
"permissions": [
"tabs",
"activeTab"
],
"content_scripts": [
{
"matches": ["http://*/*", "https://*/*"],
"js": ["content.js"]
}
],
"background": {
"service_worker": "background.js"
},
"action": {
"default_popup": "popup.html",
"default_title": "Click Me",
"default_icon": {
"16": "icon16.png",
"32": "icon32.png",
"48": "icon48.png",
"128": "icon128.png"
}
},
"options_ui": {
"page": "options.html",
"open_in_tab": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment