feat: Enhance Enterprise App Protection extension with monitoring and UI improvements
- 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.
This commit is contained in:
@@ -6,12 +6,12 @@
|
||||
"permissions": [
|
||||
"storage",
|
||||
"activeTab",
|
||||
"alarms",
|
||||
"scripting",
|
||||
"tabs"
|
||||
"alarms"
|
||||
],
|
||||
"host_permissions": [
|
||||
"https://raw.githubusercontent.com/*"
|
||||
"https://raw.githubusercontent.com/*",
|
||||
"https://safebrowsing.googleapis.com/*"
|
||||
],
|
||||
"background": {
|
||||
"service_worker": "background.js",
|
||||
@@ -19,7 +19,12 @@
|
||||
},
|
||||
"content_scripts": [
|
||||
{
|
||||
"matches": ["<all_urls>"],
|
||||
"matches": [
|
||||
"https://*.office.com/*",
|
||||
"https://*.sharepoint.com/*",
|
||||
"https://*.teams.microsoft.com/*",
|
||||
"https://*.microsoft.com/*"
|
||||
],
|
||||
"js": ["config.js", "content.js"],
|
||||
"run_at": "document_idle"
|
||||
}
|
||||
@@ -39,10 +44,17 @@
|
||||
},
|
||||
"options_page": "options.html",
|
||||
"content_security_policy": {
|
||||
"extension_pages": "script-src 'self'; object-src 'self'"
|
||||
"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": ["<all_urls>"]
|
||||
}]
|
||||
"matches": [
|
||||
"https://*.office.com/*",
|
||||
"https://*.sharepoint.com/*",
|
||||
"https://*.teams.microsoft.com/*",
|
||||
"https://*.microsoft.com/*"
|
||||
]
|
||||
}],
|
||||
"minimum_chrome_version": "88"
|
||||
}
|
Reference in New Issue
Block a user