mirror of
https://github.com/jackwener/OpenCLI.git
synced 2026-09-14 18:25:42 +08:00
1f8cb84b9d
- Remove 'debugger' permission, add 'scripting' + host_permissions
- New executor.ts: uses chrome.scripting.executeScript({ world: 'MAIN' })
- Screenshot: use chrome.tabs.captureVisibleTab() instead of CDP
- Eliminates CDP fingerprint, navigator.webdriver, debugger banner
- Tested: zhihu hot, twitter bookmarks both pass
35 lines
791 B
JSON
35 lines
791 B
JSON
{
|
|
"manifest_version": 3,
|
|
"name": "opencli Browser Bridge",
|
|
"version": "0.2.0",
|
|
"description": "Bridge between opencli CLI and your browser — execute commands, read cookies, manage tabs.",
|
|
"permissions": [
|
|
"tabs",
|
|
"cookies",
|
|
"activeTab",
|
|
"alarms",
|
|
"scripting"
|
|
],
|
|
"host_permissions": [
|
|
"<all_urls>"
|
|
],
|
|
"background": {
|
|
"service_worker": "dist/background.js",
|
|
"type": "module"
|
|
},
|
|
"icons": {
|
|
"16": "icons/icon-16.png",
|
|
"32": "icons/icon-32.png",
|
|
"48": "icons/icon-48.png",
|
|
"128": "icons/icon-128.png"
|
|
},
|
|
"action": {
|
|
"default_title": "opencli Browser Bridge",
|
|
"default_icon": {
|
|
"16": "icons/icon-16.png",
|
|
"32": "icons/icon-32.png"
|
|
}
|
|
},
|
|
"homepage_url": "https://github.com/jackwener/opencli"
|
|
}
|