LiveOverlayExtension/manifest.json
TristanEDU 638f14d174 feat: add proper toggle functionality with per-tab overlay injection and cleanup
- Replaced automatic content script injection with manual toggle via extension icon
- Implemented background service worker to inject or remove overlay on click
- Ensures overlay iframe and control panel are fully removed when toggled off
- Prevents duplicate overlays by checking for existing elements
- Added icon support for active/inactive state in the toolbar
- Now supports per-tab activation with isolated overlay control
2025-05-30 14:00:51 -07:00

21 lines
526 B
JSON

{
"manifest_version": 3,
"name": "Live Site Overlay Tool",
"version": "1.1",
"description": "Overlay one live site over another for pixel-perfect comparison.",
"permissions": ["scripting", "activeTab", "tabs", "storage"],
"host_permissions": ["<all_urls>"],
"action": {
"default_title": "Toggle Overlay",
"default_icon": {
"16": "icon-on.png",
"32": "icon-on.png",
"48": "icon-on.png",
"128": "icon-on.png"
}
},
"background": {
"service_worker": "background.js"
}
}