Files
EnterpriseAppProtection/manifest.json
becarta f757b4585a refactor: Update manifest.json for improved security and functionality
- Revise extension description to better reflect its purpose in protecting against phishing and malicious links.
- Adjust permissions to include 'tabs' and 'webNavigation' while removing 'activeTab' and 'alarms'.
- Simplify host permissions to allow access to all URLs.
- Enhance content security policy to allow connections to specific external resources.
2025-05-10 03:34:51 +02:00

59 lines
1.6 KiB
JSON

{
"manifest_version": 3,
"name": "Enterprise App Protection",
"version": "1.0",
"description": "Protects enterprise applications from phishing and malicious links",
"permissions": [
"storage",
"tabs",
"webNavigation",
"scripting"
],
"host_permissions": [
"*://*/*"
],
"background": {
"service_worker": "background.js",
"type": "module"
},
"content_scripts": [
{
"matches": [
"https://*.office.com/*",
"https://*.sharepoint.com/*",
"https://*.teams.microsoft.com/*",
"https://*.microsoft.com/*"
],
"js": ["config.js", "content.js"],
"run_at": "document_idle"
}
],
"action": {
"default_popup": "popup.html",
"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"
},
"options_page": "options.html",
"content_security_policy": {
"extension_pages": "script-src 'self'; object-src 'self'; connect-src 'self' https://raw.githubusercontent.com/ https://safebrowsing.googleapis.com/",
"sandbox": "sandbox allow-scripts allow-forms allow-popups allow-modals; script-src 'self' 'unsafe-inline' 'unsafe-eval'; child-src 'self'"
},
"web_accessible_resources": [{
"resources": ["icons/*"],
"matches": [
"https://*.office.com/*",
"https://*.sharepoint.com/*",
"https://*.teams.microsoft.com/*",
"https://*.microsoft.com/*"
]
}],
"minimum_chrome_version": "88"
}