{ "manifest_version": 3, "name": "GLM-OCR — Text from Screen", "version": "1.0.0", "description": "Select any region on screen and extract text using the self-hosted GLM-OCR model.", "permissions": [ "activeTab", "scripting", "tabs", "storage" ], "host_permissions": [ "http://localhost:8000/*", "" ], "background": { "service_worker": "background.js" }, "action": { "default_popup": "popup.html", "default_icon": { "16": "icons/icon16.png", "48": "icons/icon48.png", "128": "icons/icon128.png" } }, "content_scripts": [ { "matches": [""], "js": ["content.js"], "css": ["content.css"], "run_at": "document_idle", "all_frames": false } ], "icons": { "16": "icons/icon16.png", "48": "icons/icon48.png", "128": "icons/icon128.png" }, "web_accessible_resources": [ { "resources": ["sidebar.html"], "matches": [""] } ] }