xiaoaiwhc
This Edge browser extension is designed to protect minors from accessing web games by implementing intelligent content detection and blocking mechanisms. The extension utilizes advanced AI models (Qwen/DeepSeek) to analyze webpage content and determine if it contains web games. Key features include real-time URL analysis, automatic content blocking, keyword-based filtering, and a customizable block list management system. The extension maintains a persistent block list that stores both manually added keywords and automatically detected gaming URLs. When a user attempts to access a webpage, the extension first checks if the URL matches any entries in the block list. If not found, it proceeds with AI-powered content analysis. The user interface provides configuration options for AI service settings, including API provider selection, endpoint configuration, and model parameters. The core functionality includes: - Real-time URL analysis and blocking using AI models (Qwen/DeepSeek) - Automatic content detection and filtering - Persistent block list management for both manual and automatic entries - Two-step verification process: block list check followed by AI analysis - Performance optimization through result caching - Configurable AI service settings (API provider, endpoint, model parameters) Security features include API key protection and proper error handling for API requests. The content analysis uses streaming responses for efficient processing of AI model outputs.