Installation
ContextFort can be installed in two ways: from the Chrome Web Store (recommended) or by loading unpacked in developer mode (for testing or development).Requirements
Chrome Browser
Version 134 or higher requiredCheck your version:
chrome://versionPermissions
ContextFort requires elevated permissions for agent monitoring, screenshot capture, and session isolation.
Why Chrome 134+? ContextFort uses Manifest V3 APIs and modern Chrome features for security and performance. The minimum version is specified in chrome-extension/manifest.json:6.
Method 1: Chrome Web Store (Recommended)
The easiest and most secure way to install ContextFort.Visit Chrome Web Store
Open the ContextFort extension page.Or search for “ContextFort” in the Chrome Web Store.
Review Permissions
Before installing, review what ContextFort can access:
- Read and change all your data on all websites: Required to detect agent activity and capture screenshots
- Manage your tabs and browsing activity: Track agent sessions and tab groups
- Manage cookies: Separate human and agent login sessions
Add to Chrome
Click “Add to Chrome” button.Chrome will show a permission confirmation dialog. Click “Add extension” to proceed.
Automatic Updates
Chrome Web Store installations update automatically:- Updates download in the background
- Extension reloads on next browser restart
- No user action required
chrome://extensions → ContextFort → “Update” button
Method 2: Load Unpacked (Developer Mode)
For developers, testers, or users who want to run a specific version.Step 1: Download Source
- GitHub Release
- Build from Source
Download the latest stable release:
- Go to Releases
- Download the latest
.zipfile - Extract to a folder (e.g.,
~/contextfort)
Releases are pre-built and ready to load. No compilation required.
Step 2: Enable Developer Mode
Open Extensions Page
Navigate to
chrome://extensions in Chrome.Or: Menu → Extensions → Manage ExtensionsStep 3: Load Extension
Select Extension Folder
Navigate to the folder containing:
manifest.jsonbackground.jscontent.jsdashboard/directory
Step 4: Handle Errors
If you see errors after loading:Manifest errors
Manifest errors
manifest.json. Don’t select a parent or child folder.Service worker errors
Service worker errors
- Click “Errors” button on the extension card
- Check console for specific error
- Common issue: Missing dependencies (run
npm installin extension folder)
Permission warnings
Permission warnings
Chrome shows warnings about broad permissions.Expected behavior: ContextFort requires extensive permissions for agent monitoring. These warnings are normal.
Permissions Explained
ContextFort requests the following permissions (defined in chrome-extension/manifest.json:8-19):Why These Permissions?
Why <all_urls>?
Why <all_urls>?
AI agents can operate on any website (Google, GitHub, internal tools, etc.). ContextFort needs access to all sites to:
- Capture screenshots regardless of domain
- Enforce blocking rules across the web
- Track agent navigation paths
Why cookies permission?
Why cookies permission?
Why unlimitedStorage?
Why unlimitedStorage?
Screenshot data can accumulate quickly during long agent sessions:
- Average screenshot: 100-500 KB
- 100 screenshots per session: 10-50 MB
- Multiple sessions: Can exceed Chrome’s default 5 MB quota
Post-Installation Configuration
Disable Analytics (Optional)
ContextFort includes optional PostHog analytics. To disable:Locate background.js
For unpacked extensions:
- Find the extension folder you loaded
- Open
background.jsin a text editor
Analytics only collect event names (agent_start, agent_stop) and timestamps. No PII, screenshots, or session data is ever transmitted. See chrome-extension/background.js:33-48 for implementation.
Configure Storage Limits
By default, ContextFort keeps the last 100 screenshots. To change this:- Edit chrome-extension/background.js:436
- Modify the limit:
- Reload the extension
Verifying Installation
Run these checks to ensure ContextFort is working:Check Extension Status
Open
chrome://extensions and verify:- ✅ ContextFort is Enabled
- ✅ No error messages
- ✅ Version matches expected (1.0.1)
Open Dashboard
Click ContextFort icon in toolbar. Dashboard should open with:
- Navigation tabs: Visibility, Sessions, Controls
- No error messages in dashboard
- “No sessions yet” message (if first install)
Check Console
Open Chrome DevTools (F12) on any page:
- Go to Console tab
- Look for ContextFort messages
- Should see:
[ContextFort] Extension started
Troubleshooting
Extension won't install from Chrome Web Store
Extension won't install from Chrome Web Store
Error: “Cannot install from this site”Solutions:
- Ensure you’re using Google Chrome (not Chromium or Edge)
- Check Chrome version: Must be 134+
- Disable other security extensions temporarily
- Try incognito mode:
chrome://extensions→ Enable “Allow in incognito”
Developer mode load fails
Developer mode load fails
Error: “Failed to load extension”Common causes:
- Wrong folder selected: Must contain
manifest.json - Missing files: Ensure all files from release are present
- Syntax errors: If built from source, check for compilation errors
Dashboard won't open
Dashboard won't open
Symptoms: Clicking icon does nothingSolutions:
- Check background worker:
chrome://extensions→ ContextFort → “service worker” - Look for errors in service worker DevTools
- Reload extension:
chrome://extensions→ Reload button - Clear extension storage: Details → “Clear storage”
Permissions not working
Permissions not working
Symptoms: Features missing or errors about permissionsSolutions:
- Verify permissions granted:
chrome://extensions→ ContextFort → “Details” → “Permissions” - For unpacked extensions: Check manifest.json permissions array
- Remove and reinstall extension
- Some permissions require user interaction: ContextFort will prompt when needed
Extension disabled after Chrome restart
Extension disabled after Chrome restart
Cause: Developer mode extensions trigger warningsSolutions:
- Chrome Web Store version: Doesn’t have this issue
- Developer mode: Click “Enable” after each Chrome restart
- Suppress warning: Use
--enable-extension-activity-loggingChrome flag (not recommended)
Uninstalling
To remove ContextFort:Partial Cleanup (Keep Extension, Clear Data)
If you want to keep ContextFort but clear storage:chrome://extensions→ ContextFort → “Details”- Scroll to “Storage”
- Click “Clear storage”
- Open ContextFort dashboard
- Settings → Clear All Data (if available)
Next Steps
Quickstart Guide
Monitor your first agent session in 5 minutes
Features Overview
Explore all ContextFort capabilities
Configuration
Customize behavior and privacy settings
Security
Understand data handling and privacy
Getting Help
If you encounter issues during installation:- Check Chrome version:
chrome://version(must be 134+) - Review console errors: Open DevTools → Console tab
- Search GitHub Issues: Existing problems
- Open new issue: Include:
- Installation method (Web Store or unpacked)
- Chrome version
- Error messages
- Steps to reproduce
Need more help?
Contact support or join the community discussion.