Remko H. Pape1 downloadsChoose per click whether web links open in the Web viewer or your browser. Hold a key to switch, or flip the default from the status bar.
Choose per click whether a web link opens in Obsidian's built-in Web viewer or in your system browser, without going through the right-click menu.
With the Web viewer core plugin, every external link opens inside Obsidian. That is great for quick reading, but sometimes you want the real browser (logins, extensions, downloads). Until now the only way was right-click, then "Open in default browser". This plugin makes that a single click.
| Action | Result |
|---|---|
| Click a web link | Opens in your default target |
| Alt + click (or Shift, configurable) | Opens in the other target |
Click 🔗 Web viewer / 🔗 Browser in the status bar |
Flips the default |
| Ctrl / Cmd + click | Left to Obsidian's normal behaviour |
Works in Reading view, Live Preview, Source mode, canvas cards and hover previews, for [text](https://...) links, <https://...> links and bare URLs.
All commands can be bound to a hotkey in Settings → Hotkeys.
Settings → Community plugins → Browse → search for Link Target Switch → Install → Enable.
main.js and manifest.json from the latest release.<your vault>/.obsidian/plugins/link-target-switch/.The plugin makes no network requests of its own and collects no data. It only decides where a link you click is opened.
This plugin was created with the help of AI (Claude by Anthropic). The code was generated by AI based on my idea and requirements, and has been reviewed and tested by me before release. Issues and pull requests are welcome.