mirror of
https://github.com/GoogleChrome/chrome-extensions-samples.git
synced 2026-03-27 13:29:34 +07:00
* Add DevTools Tips example * Update functional-samples/tutorial.focus-mode-debugging/README.md Co-authored-by: Joe Medley <jmedley@google.com> --------- Co-authored-by: Joe Medley <jmedley@google.com>
41 lines
911 B
JSON
41 lines
911 B
JSON
{
|
|
"manifest_version": 3,
|
|
"name": "Oliver Focus Mode",
|
|
"description": "Example extension from DevTools Tips video.",
|
|
"version": "1.0",
|
|
"icons": {
|
|
"16": "images/icon-16.png",
|
|
"32": "images/icon-32.png",
|
|
"48": "images/icon-48.png",
|
|
"128": "images/icon-128.png"
|
|
},
|
|
"background": {
|
|
"service_worker": "background.js"
|
|
},
|
|
"action": {
|
|
"default_icon": {
|
|
"16": "images/icon-16.png",
|
|
"32": "images/icon-32.png",
|
|
"48": "images/icon-48.png",
|
|
"128": "images/icon-128.png"
|
|
}
|
|
},
|
|
"permissions": [],
|
|
"host_permissions": ["https://developer.chrome.com/*"],
|
|
"commands": {
|
|
"_execute_action": {
|
|
"suggested_key": {
|
|
"default": "Ctrl+B",
|
|
"mac": "Command+B"
|
|
}
|
|
}
|
|
},
|
|
"content_scripts": [
|
|
{
|
|
"js": ["focus-mode.js"],
|
|
"css": ["focus-mode.css"],
|
|
"matches": ["https://developer.chrome.com/*"]
|
|
}
|
|
]
|
|
}
|