44 lines
1.1 KiB
JSON
44 lines
1.1 KiB
JSON
{
|
|
"manifest_version": 3,
|
|
"name": "Element Inspector",
|
|
"version": "1.0.0",
|
|
"description": "Isolate any page element on a clean canvas: box model, colors, inherited styles, grid/flex layout and responsive testing.",
|
|
"icons": {
|
|
"16": "icons/icon-16.png",
|
|
"32": "icons/icon-32.png",
|
|
"48": "icons/icon-48.png",
|
|
"128": "icons/icon-128.png"
|
|
},
|
|
"action": {
|
|
"default_title": "Inspect element (Alt+Shift+E)",
|
|
"default_icon": {
|
|
"16": "icons/icon-16.png",
|
|
"32": "icons/icon-32.png",
|
|
"48": "icons/icon-48.png",
|
|
"128": "icons/icon-128.png"
|
|
}
|
|
},
|
|
"background": {
|
|
"service_worker": "src/background.ts",
|
|
"type": "module"
|
|
},
|
|
"content_scripts": [
|
|
{
|
|
"matches": ["<all_urls>"],
|
|
"js": ["src/content/main.ts"],
|
|
"run_at": "document_idle",
|
|
"all_frames": false
|
|
}
|
|
],
|
|
"permissions": ["activeTab"],
|
|
"commands": {
|
|
"activate-picker": {
|
|
"suggested_key": {
|
|
"default": "Alt+Shift+E",
|
|
"mac": "Alt+Shift+E"
|
|
},
|
|
"description": "Pick an element to inspect"
|
|
}
|
|
}
|
|
}
|