REQUIRED: Allow this extension in Ollama
Ollama blocks browser extensions by default. You must set the environment variable OLLAMA_ORIGINS=chrome-extension://* to allow Chrome extensions. Without this step you get a 403 error.
Windows (recommended way via GUI):
- Install Ollama from ollama.com
- Quit Ollama completely (System Tray bottom-right → right-click Ollama icon → Quit)
- Press
Win key, type environment variables, open "Edit the system environment variables"
- Click "Environment Variables..." button
- Under "User variables" click "New..." and enter:
Name: OLLAMA_ORIGINS
Value: chrome-extension://*
- Click OK three times to close all dialogs
- Start Ollama again (from Start Menu) — if Ollama autostarts, you may need to restart Windows for it to pick up the new variable
- Pull a model (open cmd or PowerShell):
ollama pull llama3
- Reload this extension at
chrome://extensions (click the reload icon)
Mac:
launchctl setenv OLLAMA_ORIGINS "chrome-extension://*"
Then quit Ollama from the menu bar and restart it.
Linux:
systemctl edit ollama.service
# add under [Service]:
Environment="OLLAMA_ORIGINS=chrome-extension://*"
# then:
systemctl daemon-reload && systemctl restart ollama
Still getting 403? Click here for troubleshooting
- Did Ollama actually restart? The new variable only takes effect after a full restart. On Windows, restart your PC to be sure.
- Verify the variable was set: Open a NEW cmd/PowerShell window and run
echo %OLLAMA_ORIGINS% — must print chrome-extension://*
- Direct test: Open http://127.0.0.1:11434/api/tags in browser — JSON response = Ollama is running
- Try the wildcard for testing only: set value to
* instead of chrome-extension://*
- Ollama running as Windows Service? Open
services.msc → find Ollama → Restart
- Firewall/Antivirus blocking port 11434? Add an exception
FREE & 100% private — runs entirely on your computer, no data leaves your PC.