45 lines
928 B
JSON
45 lines
928 B
JSON
{
|
|
"manifest_version": 3,
|
|
"name": "EShip Auth Extension",
|
|
"version": "1.0.0",
|
|
"description": "Authentication extension for EShip protected web app",
|
|
|
|
"permissions": [
|
|
"storage",
|
|
"activeTab",
|
|
"tabs"
|
|
],
|
|
|
|
"host_permissions": [
|
|
"http://localhost:5173/*",
|
|
"http://localhost:3000/*",
|
|
"http://localhost:3001/*",
|
|
"https://appwrite.webklar.com/*"
|
|
],
|
|
|
|
"background": {
|
|
"service_worker": "background/service-worker.js"
|
|
},
|
|
|
|
"action": {
|
|
"default_popup": "popup/popup.html",
|
|
"default_title": "EShip Login"
|
|
},
|
|
|
|
"content_scripts": [
|
|
{
|
|
"matches": ["http://localhost:5173/*", "http://localhost:3000/*"],
|
|
"js": ["content/content-script.js"],
|
|
"run_at": "document_start"
|
|
}
|
|
],
|
|
|
|
|
|
"web_accessible_resources": [
|
|
{
|
|
"resources": ["lib/*", "config.js"],
|
|
"matches": ["http://localhost:5173/*", "http://localhost:3000/*"]
|
|
}
|
|
]
|
|
}
|