A Chrome Extension for restricting access to AI and Large Language Model (LLM) services in managed, educational, and enterprise environments.
PolicyLock LLM provides centralized control over access to modern AI services through Chrome's Declarative Net Request API.
The extension can prevent access to conversational AI platforms, image generation services, video generation platforms, and other AI-powered tools by redirecting requests to a customizable block page.
Typical use cases include:
- Educational environments
- Corporate compliance requirements
- Examination and assessment systems
- Managed workstations
- Research environments requiring AI restrictions
- Block access to popular AI platforms
- Categorized filtering (Text, Image, Video)
- Dynamic rule generation
- Local configuration storage
- Password-protected configuration
- Hard Block mode
- Self-lock functionality
- Persistent protection across browser restarts
- Modern management interface
- Dark mode support
- Localization support
- Custom block page
- External AI service registry
- Simplified service maintenance
- Community-driven service updates
- GitHub Issue workflow for missing platforms
| Category | Examples |
|---|---|
| Text AI | ChatGPT, Claude, Gemini, Grok, DeepSeek, Perplexity |
| Image AI | Midjourney, Leonardo AI, Ideogram, CivitAI |
| Video AI | Runway, Kling, Hailuo, Luma, Sora |
The complete service registry is maintained separately and can be expanded without redesigning the extension architecture.
git clone https://github.com/mrf0rtuna4/PolicyLockLLM.git- Open:
chrome://extensions
- Enable Developer Mode
- Select Load unpacked
- Choose the repository directory
The extension stores its configuration locally using:
chrome.storage.local
Available options:
| Setting | Description |
|---|---|
| Blocking | Enable or disable AI service restrictions |
| Category | Select AI service category |
| Password | Administrator protection |
| Hard Block | Prevent disabling without password |
PolicyLock LLM uses a registry-based model.
Example:
{
"id": "chatgpt",
"name": "ChatGPT",
"company": "OpenAI",
"category": "text",
"domains": [
"chatgpt.com"
]
}The registry can be distributed through:
- GitHub Raw
- CDN
- Internal enterprise infrastructure
AI platforms evolve rapidly.
If a service is not currently covered by the registry, please open an issue:
https://github.com/mrf0rtuna4/PolicyLockLLM/issues/new
Include:
- Service name
- Primary domain
- Category (Text / Image / Video)
- Optional documentation links
PolicyLockLLM/
βββ _locales/
βββ scripts/
β βββ main.js
β βββ themes.js
β βββ i18n.js
βββ blocked.html
βββ main.html
βββ manifest.json
βββ llms.json
βββ background.js
PolicyLock LLM is implemented as a browser extension and should not be considered a complete endpoint-control solution.
Users with administrative access to the operating system or browser may still remove or modify the extension.
For stronger enforcement, consider:
- Chrome Enterprise Policies
- Microsoft Edge Management Policies
- Managed Browser Deployments
- Endpoint Management Solutions
PolicyLock LLM does not:
- Collect analytics
- Track browsing activity
- Send user data to external servers
- Store information outside browser storage
All configuration is stored locally unless a custom registry source is configured.
See the LICENSE file for details.