Open-source AI browser agent for Chrome and Firefox (monorepo) ðŸ§
JavaScript ai-agentai-agentsai-toolsbrowser-aibrowser-automationbrowser-extensionchrome-aichrome-devtoolschrome-extensionchrome-extensionsfirefox-addonfirefox-addonsfirefox-extensionfirefox-extensionsgemmagemma4minimaxoffline-aioffline-llmqwen
{
"manifest_version": 3,
"name": "WebBrain",
"version": "45.0.4",
"description": "Open-source AI browser agent — chat with pages, automate tasks, multi-provider LLM support.",
"permissions": [
"sidePanel",
"activeTab",
"contextMenus",
"tabs",
"tabGroups",
"scripting",
"storage",
"identity",
"cookies",
"notifications",
"webNavigation",
"webRequest",
"debugger",
"downloads",
"alarms",
"unlimitedStorage",
"offscreen",
"privateNetworkAccess",
"tabCapture",
"clipboardWrite",
"clipboardRead",
"search"
],
"chrome_url_overrides": {
"newtab": "newtab/index.html"
},
"host_permissions": [
"<all_urls>",
"http://localhost/*",
"http://127.0.0.1/*",
"http://*/*"
],
"mime_types_handler": {
"application/pdf": {
"handler_url": "src/ui/pdf-handler.html",
"can_embed": true
}
},
"content_security_policy": {
"extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self'; connect-src * data: blob:;"
},
"background": {
"service_worker": "src/background.js",
"type": "module"
},
"content_scripts": [
{
"matches": ["<all_urls>"],
"js": ["src/content/page-monitor.js"],
"run_at": "document_start",
"all_frames": true,
"match_about_blank": true,
"match_origin_as_fallback": true
},
{
"matches": ["<all_urls>"],
"js": ["src/content/page-monitor-shadow.js"],
"run_at": "document_start",
"world": "MAIN",
"all_frames": true,
"match_about_blank": true,
"match_origin_as_fallback": true
},
{
"matches": ["<all_urls>"],
"js": ["src/content/file-picker-guard-page.js"],
"run_at": "document_start",
"world": "MAIN"
},
{
"matches": ["<all_urls>"],
"js": [
"src/content/file-upload-policy.js",
"src/content/rich-text-toolbar-heuristic.js",
"src/content/accessibility-tree.js",
"src/content/teacher-capture.js",
"src/content/chat-observation.js",
"src/content/content.js",
"src/content/agent-visual-indicator.js",
"src/content/ollama-launch-handoff.js"
],
"run_at": "document_idle"
},
{
"matches": ["<all_urls>"],
"js": ["src/content/selection-shortcut.js"],
"run_at": "document_start"
},
{
"matches": ["<all_urls>"],
"js": ["src/content/redaction-regions.js"],
"run_at": "document_idle",
"all_frames": true,
"match_about_blank": true
},
{
"matches": [
"*://*.facebook.com/*",
"*://*.instagram.com/*",
"*://*.x.com/*",
"*://*.twitter.com/*",
"*://*.linkedin.com/*",
"*://*.reddit.com/*",
"*://*.youtube.com/*",
"*://youtu.be/*"
],
"js": ["src/agent/social-media-downloader.js"],
"run_at": "document_start",
"world": "MAIN"
},
{
"matches": [
"https://www.instagram.com/*",
"https://instagram.com/*"
],
"js": [
"src/safesocial/content.js"
],
"css": [
"src/safesocial/content.css"
],
"run_at": "document_idle"
}
],
"options_page": "src/ui/settings.html",
"action": {
"default_title": "WebBrain",
"default_icon": {
"16": "icons/icon16.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png"
}
},
"icons": {
"16": "icons/icon16.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png"
},
"commands": {
"_execute_action": {
"suggested_key": {
"default": "Alt+Shift+W"
},
"description": "Open WebBrain panel"
},
"decrease-ui-scale": {
"suggested_key": {
"default": "Alt+Shift+Comma"
},
"description": "Zoom WebBrain UI out"
},
"increase-ui-scale": {
"suggested_key": {
"default": "Alt+Shift+Period"
},
"description": "Zoom WebBrain UI in"
},
"reset-ui-scale": {
"suggested_key": {
"default": "Alt+Shift+0"
},
"description": "Reset WebBrain UI zoom"
}
},
"web_accessible_resources": [
{
"resources": ["src/content/autoconsent-runtime.js", "vendor/autoconsent/autoconsent.esm.js", "vendor/pdfjs/index.mjs", "vendor/pdfjs/worker.mjs", "vendor/pdfjs/compat.mjs", "vendor/pdfjs/pdf.mjs", "vendor/pdfjs/pdf.worker.mjs", "skills/*"],
"matches": ["<all_urls>"]
}
]
}