feat: Enhance domain management and configuration in the extension
- 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.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// config.js
|
||||
const CONFIG = {
|
||||
// URL to fetch the approved enterprise domains list
|
||||
DOMAINS_DB_URL: 'https://raw.githubusercontent.com/rrpbergsma/EnterpriseAppProtection/refs/heads/main/domains.json',
|
||||
DOMAINS_DB_URL: 'https://git.365devnet.eu/365DevNet/EnterpriseAppProtection/raw/branch/main/domains.json',
|
||||
// Update interval in hours
|
||||
UPDATE_INTERVAL: 24,
|
||||
// Warning message template for suspicious links
|
||||
|
Reference in New Issue
Block a user