Preflight Checklist
Problem Statement
Problem
The "Link to [domain] was blocked. Preview only supports localhost URLs"
toast appears persistently in Claude Desktop, even outside of active
Claude Code sessions (e.g., while chatting in regular conversations on
claude.ai desktop app). It triggers on any non-localhost URL that appears
in the conversation, which is constant during development work where
Claude outputs URLs to docs, GitHub, Stack Overflow, etc.
Closing the Preview panel does not stop the toast. Restarting the app
only helps temporarily.
Current state
There is no way to disable the Preview feature:
- No UI setting
- No flag in
settings.json / .claude/settings.local.json
- No documented environment variable
- No CLI argument
Request
Add an explicit setting to fully disable the Preview feature for users
who don't use it, e.g.:
{
"preview": {
"enabled": false
}
}
Alternatively, ensure the Preview URL interception only activates when
a Preview panel is explicitly opened, and fully deactivates when closed.
Environment
- Claude Desktop version: [completá con tu versión — la ves en Settings/About]
- OS: [Windows / macOS / Linux + versión]
Related issues
These address adjacent problems but none offer a way to simply turn the
feature off.
Proposed Solution
Option to disable preview
Alternative Solutions
No response
Priority
Critical - Blocking my work
Feature Category
CLI commands and flags
Use Case Example
No response
Additional Context
Im using claude code (desktop), and can't disable the message about bloking url

Preflight Checklist
Problem Statement
Problem
The "Link to [domain] was blocked. Preview only supports localhost URLs"
toast appears persistently in Claude Desktop, even outside of active
Claude Code sessions (e.g., while chatting in regular conversations on
claude.ai desktop app). It triggers on any non-localhost URL that appears
in the conversation, which is constant during development work where
Claude outputs URLs to docs, GitHub, Stack Overflow, etc.
Closing the Preview panel does not stop the toast. Restarting the app
only helps temporarily.
Current state
There is no way to disable the Preview feature:
settings.json/.claude/settings.local.jsonRequest
Add an explicit setting to fully disable the Preview feature for users
who don't use it, e.g.:
{ "preview": { "enabled": false } }Alternatively, ensure the Preview URL interception only activates when
a Preview panel is explicitly opened, and fully deactivates when closed.
Environment
Related issues
These address adjacent problems but none offer a way to simply turn the
feature off.
Proposed Solution
Option to disable preview
Alternative Solutions
No response
Priority
Critical - Blocking my work
Feature Category
CLI commands and flags
Use Case Example
No response
Additional Context
Im using claude code (desktop), and can't disable the message about bloking url