2025-07-08 16:16:32 -07:00
|
|
|
{
|
|
|
|
|
"manifest_version": 3,
|
|
|
|
|
"name": "RouteGPT (beta)",
|
|
|
|
|
"version": "0.1.0",
|
|
|
|
|
"description": "RouteGPT: Smart Model Routing for ChatGPT.",
|
|
|
|
|
"permissions": [
|
2025-07-08 17:50:41 -07:00
|
|
|
"storage",
|
|
|
|
|
"tabs"
|
2025-07-08 16:16:32 -07:00
|
|
|
],
|
|
|
|
|
"host_permissions": [
|
|
|
|
|
"https://chatgpt.com/*",
|
|
|
|
|
"http://localhost:12000/*"
|
|
|
|
|
],
|
|
|
|
|
"content_security_policy": {
|
|
|
|
|
"extension_pages": "script-src 'self'; object-src 'self'; connect-src 'self' http://localhost:12000"
|
|
|
|
|
},
|
|
|
|
|
"web_accessible_resources": [
|
|
|
|
|
{
|
|
|
|
|
"resources": ["index.html", "logo.png"],
|
|
|
|
|
"matches": ["https://chatgpt.com/*"]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"resources": ["pageFetchOverride.js"],
|
|
|
|
|
"matches": ["https://chatgpt.com/*"]
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"action": {
|
|
|
|
|
"default_popup": "index.html"
|
|
|
|
|
},
|
|
|
|
|
"content_scripts": [
|
|
|
|
|
{
|
|
|
|
|
"matches": ["https://chatgpt.com/*"],
|
|
|
|
|
"js": ["static/js/content.js"],
|
|
|
|
|
"run_at": "document_start"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|