Files
jackwener 1f8cb84b9d feat(extension): replace chrome.debugger CDP with chrome.scripting for anti-detection
- 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
2026-03-19 22:29:55 +08:00

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"
}