- Introduce default configuration settings for API key, domains database URL, update interval, and warning message template in background.js and options.js. - Update domains database URL to a new source for improved reliability. - Refactor domain management UI in domains_management.js to support adding, editing, and removing trusted and blocked domains with enhanced user experience. - Implement search functionality for filtering domains in the management interface. - Improve status messaging for user feedback during domain operations.
59 lines
1.6 KiB
JSON
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://git.365devnet.eu/ 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"
|
|
} |