feat(browser-extension): add web page clipping functionality

- 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>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-13 23:21:08 +00:00
parent 8d91b135a0
commit f7280be523
7 changed files with 830 additions and 31 deletions
+5 -4
View File
@@ -1,15 +1,16 @@
{
"manifest_version": 3,
"name": "DocuElevate - Send to Document Processor",
"version": "1.0.0",
"description": "Send files from your browser directly to DocuElevate for processing",
"version": "1.1.0",
"description": "Send files or clip web pages from your browser directly to DocuElevate for processing",
"permissions": [
"activeTab",
"storage",
"contextMenus",
"notifications"
"notifications",
"scripting"
],
"host_permissions": [],
"host_permissions": ["<all_urls>"],
"action": {
"default_popup": "popup/popup.html",
"default_icon": {