- Introduce error reporting and performance monitoring in background.js to track API calls and processing times. - Implement health check system to ensure the extension's operational status and log issues. - Add caching and encryption utilities in content.js for improved link analysis and data validation. - Refactor link analysis to process in batches, enhancing performance and user experience. - Update UI in domains_management.html and options.html for better usability and aesthetics, including responsive design and improved layout. - Enhance popup.html to display suspicious links with better styling and functionality. - Modify manifest.json to include new permissions and host access for Safe Browsing API.
60 lines
1.6 KiB
JSON
60 lines
1.6 KiB
JSON
{
|
|
"manifest_version": 3,
|
|
"name": "Enterprise App Protection",
|
|
"version": "1.0",
|
|
"description": "Warns when enterprise tool mentions are linked to non-official sites",
|
|
"permissions": [
|
|
"storage",
|
|
"activeTab",
|
|
"scripting",
|
|
"alarms"
|
|
],
|
|
"host_permissions": [
|
|
"https://raw.githubusercontent.com/*",
|
|
"https://safebrowsing.googleapis.com/*"
|
|
],
|
|
"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'; default-src 'self'",
|
|
"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"
|
|
} |