Files
EnterpriseAppProtection/config.js
becarta 87506ae85a 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.
2025-05-10 03:52:10 +02:00

10 lines
404 B
JavaScript

// config.js
const CONFIG = {
// URL to fetch the approved enterprise domains list
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
WARNING_TEMPLATE: "Warning: This link claims to be {app} but goes to an unofficial domain."
};