f7280be523
- Updated manifest to v1.1.0 with additional permissions (scripting, host_permissions) - Added web clipping context menu items (Clip Full Page, Clip Selection) - Enhanced background.js with PDF conversion using Chrome's printToPDF API - Updated content.js to capture full page HTML and selected content - Added new capture.js script for page capture utilities - Enhanced popup UI with mode toggle between "Send URL" and "Clip Page" - Added support for clipping full pages or selected content to PDF - Updated CSS for new mode buttons and clip section layout Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
40 lines
927 B
JSON
40 lines
927 B
JSON
{
|
|
"manifest_version": 3,
|
|
"name": "DocuElevate - Send to Document Processor",
|
|
"version": "1.1.0",
|
|
"description": "Send files or clip web pages from your browser directly to DocuElevate for processing",
|
|
"permissions": [
|
|
"activeTab",
|
|
"storage",
|
|
"contextMenus",
|
|
"notifications",
|
|
"scripting"
|
|
],
|
|
"host_permissions": ["<all_urls>"],
|
|
"action": {
|
|
"default_popup": "popup/popup.html",
|
|
"default_icon": {
|
|
"16": "icons/icon16.png",
|
|
"32": "icons/icon32.png",
|
|
"48": "icons/icon48.png",
|
|
"128": "icons/icon128.png"
|
|
}
|
|
},
|
|
"icons": {
|
|
"16": "icons/icon16.png",
|
|
"32": "icons/icon32.png",
|
|
"48": "icons/icon48.png",
|
|
"128": "icons/icon128.png"
|
|
},
|
|
"background": {
|
|
"service_worker": "scripts/background.js"
|
|
},
|
|
"content_scripts": [
|
|
{
|
|
"matches": ["<all_urls>"],
|
|
"js": ["scripts/content.js"],
|
|
"run_at": "document_idle"
|
|
}
|
|
]
|
|
}
|