Surfing

by Boninall
5
4
3
2
1
Score: 76/100

Description

Category: Note Enhancements

The Surfing plugin is an exciting new addition to the Obsidian ecosystem, allowing users to browse the web directly within their Obsidian interface. With this plugin, you can hijack Obsidian's file, http, and https protocols to open links in a tabbed environment, eliminating the need to switch between browsers. The plugin also includes features like editor web search, in-page web search, and copy links pointing to highlights, making it easy to navigate and organize your online research. Additionally, you can use BookmarkLets in your browser to open URLs directly in Obsidian, and even copy video timestamps with a simple right-click menu.

Reviews

  • B Caesar
    Reviewed on Mar 22nd, 2026
    No review text provided.

Stats

585
stars
131,625
downloads
44
forks
1,430
days
44
days
44
days
94
total PRs
4
open PRs
1
closed PRs
89
merged PRs
206
total issues
95
open issues
111
closed issues
22
commits

Latest Version

a month ago

Changelog

Surfing 1.0.0: Chrome extensions in Web Viewer and Surfing

▶ Watch the demo in full quality (WebM)

Highlights

Chrome extensions (desktop, experimental)

Run Chrome extensions such as Tampermonkey, uBlock Origin Lite, Dark Reader or Read Frog inside Obsidian. This used to be the separate Chrome Extensions Bridge plugin.

  • Follows Web Viewer automatically. While Obsidian's core Web Viewer plugin is on, extensions run in Web Viewer tabs and Surfing leaves external links to Web Viewer. Turn Web Viewer off and the extensions move into Surfing's own tabs; turn it back on and they move back.
  • Install from the Chrome Web Store (an Install to Obsidian button appears on store pages), from a store link or ID, or from a local .crx / .zip / folder. Store packages are signature-checked like Chrome does.
  • Toolbar buttons with icons and badges, a puzzle menu, popups, options pages, extension items in the page's right-click menu, manifest commands in the command palette (bind hotkeys there), notifications, cookies, webNavigation, declarativeNetRequest for page loads and the userScripts API Tampermonkey needs.
  • Needs an Obsidian installer from 1.12.4 or later (Electron 39+). On older installs Surfing works as before, without extensions.
  • Coming from Chrome Extensions Bridge: disable it, then use Import in Settings → Surfing → Extensions.

Browser control for AI agents (MCP)

The built-in AI sidebar is replaced by an MCP server: agents such as Claude Code or Codex connect to Surfing and read and control the pages open in Obsidian, much like Claude in Chrome.

  • 17 tools: tabs, navigation, page snapshots with element references, page text as Markdown, clicking/typing/keys/scrolling with real input events, form filling, screenshots, waiting, console messages, and (only if you allow it) running JavaScript.
  • Off by default. Local only (127.0.0.1), access token, requests from web pages refused, per-site consent (allow once / always / deny), blocked sites, and a marker on tabs an agent is controlling.
  • Settings → Surfing → MCP shows ready-to-copy setup for Claude Code, Codex and other clients.

Settings

  • Rebuilt on Obsidian's settings definitions (1.13+): native pages and groups, and Obsidian's settings search finds every Surfing option.
  • Ad Block filter lists can point to a .txt file in your vault, with suggestions while typing.

Fixes

  • "Open link in default browser" works again (#253, #217).
  • Pressing / no longer steals focus from text fields (#304).
  • The address bar follows redirects and in-page navigation; pushState no longer floods history (#193).
  • obsidian:// and other app links open in their app instead of being searched (#293); localhost and LAN addresses open directly.
  • Large vaults no longer freeze on one-letter searches; custom search engines are matched correctly (#250, #260).
  • Links in embeds no longer open twice (#292); favicons survive moving tabs (#286); removed the broken "open surfing view next" command (#295).
  • The page context menu uses Electron's context menu: pages keep their own menus, and links, images and text fields get proper items.
  • Keyboard shortcuts in pages no longer fire once per page visited; malformed URLs no longer throw.

Breaking changes

  • Minimum Obsidian version is now 1.7.2 (Surfing already relied on APIs from that version).
  • The AI assistant sidebar is removed, together with its Claude/Codex SDK integration (the plugin is about 30% smaller). Use the MCP server with the agent of your choice instead.
  • Surfing's own settings search is gone in favour of Obsidian's.

中文说明

  • Chrome 扩展(实验性):在 Obsidian 中运行篡改猴、uBlock Origin Lite、Dark Reader、陪读蛙等扩展(原 Chrome Extensions Bridge 插件已并入)。启用核心插件"网页浏览器"时扩展在 Web Viewer 中运行,停用后自动转到 Surfing 标签页。支持从 Chrome 应用商店安装、工具栏按钮与角标、弹出面板、右键菜单、命令等。需要 1.12.4 及以上版本的 Obsidian 安装程序(Electron 39+)。
  • AI 智能体浏览器控制(MCP):移除了内置的 AI 侧边栏,改为提供 MCP 服务器,Claude Code、Codex 等智能体可以读取并操作 Obsidian 中打开的网页。默认关闭,仅本机访问,需要访问令牌,按站点授权。
  • 设置:改用 Obsidian 1.13 的原生设置定义,Obsidian 的设置搜索可以搜到 Surfing 的所有选项;广告拦截的过滤列表可以选择库中的 .txt 文件。
  • 修复:默认浏览器打开链接、/ 抢焦点、地址栏跟随跳转、obsidian:// 链接、大型库搜索卡顿、嵌入中链接重复打开、图标丢失、右键菜单等问题。
  • 不兼容变更:最低 Obsidian 版本 1.7.2;移除 AI 侧边栏。

README file from

Github

Surfing

中文文档 | English Doc

Introduction

An Obsidian plugin that allows you to browse the web within Obsidian using v1.0 tabs.

The core functionality of the plugin, rendering a web view, is greatly influenced by Ellpeck's Obsidian Custom Frames plugin and this plugin wouldn't have been possible without it.

TODO

  • Support extensions
  • Support custom CSS
  • Support custom JS

Feature

  • Core Feature
    • Browse arbitrary web pages: The plugin hijacks Obsidian's file, http, https protocols, enabling links to be opened directly in Obsidian, rather than in external browsers. Yes, local HTML and other resources are also supported.
    • Editor web search: You can select keywords in the editor and then right-click to open them in web-browser and search using the default search engine.
    • In-page web search: Again, you can right-click within a web page to use the default search engine search.
    • Copy links pointing to highlights: As with the browser, you can select text and copy the links pointing to it.
    • Use BookmarkLets in your browser to open the URL directly in Obsidian.
    • Copy video timestamp (experimental feature: currently only bilibili is supported): right click on the text to pop up the menu to copy the timestamp, currently there are some bugs, it is known that sometimes the menu does not pop up.
  • Auxiliary Feature
    • Open current URL with external browser: right-click menu
    • Default search engine: setting item
    • Default copy highlighted template: setting item (currently only supports very simple templates), please avoid using some special characters
    • Support browsing history: Jump back and forth to the page
    • Clear browsing history: command panel
    • All links are opened in the same panel on the right: Settings
    • Toggle whether to open in the same panel on the right: command panel
    • Simple dark mode: just simple

Chrome Extensions (experimental, desktop)

Surfing: Chrome extensions in Web Viewer and Surfing

Surfing can run Chrome extensions such as Tampermonkey, uBlock Origin Lite, Dark Reader or Read Frog. This used to be the separate Chrome Extensions Bridge plugin.

  • Where extensions run: while Obsidian's core Web Viewer plugin is enabled, extensions run in Web Viewer tabs, and Surfing leaves external links to Web Viewer (Surfing's own view stays available from its commands and menus). With Web Viewer disabled, extensions run in Surfing tabs. Switching the core plugin moves the extensions over automatically. Each browser has its own session, so extension data (settings, cookies) is kept separately for each.
  • Install from the Chrome Web Store (open the store with the command Open Chrome Web Store, then click Install to Obsidian in the tab header), from a store link or extension ID, or from a local .crx, .zip or unpacked folder. Manage everything in Settings → Surfing → Extensions.
  • Use: every browser tab header has a puzzle button listing your extensions; pinned extensions get their own button with icon and badge. Extension context menu items appear in the page's right-click menu, and manifest commands appear in the command palette, where you can bind hotkeys.
  • Requirements: Obsidian installed from a 1.12.4 or later installer (Electron 39 or later). Electron is bound to the installer; on older installs Surfing works as before, without extensions. Extensions can't load while Surfing's session isolation is on.
  • Coming from Chrome Extensions Bridge? Disable that plugin, then use Import in Settings → Surfing → Extensions. Extensions installed from local folders get a new extension ID, so their data starts fresh.

Browser control for AI agents (MCP, desktop)

Surfing can run a local MCP server so external AI agents (Claude Code, Codex CLI, Cursor, ...) can see and control the web pages open in Obsidian, in Surfing tabs and in the core Web Viewer, much like Claude in Chrome does for Chrome.

  • Enable: Settings → Surfing → MCP → Enable MCP server. Surfing generates an access token and listens on http://127.0.0.1:27125/mcp (the port is configurable).
  • Connect Claude Code: claude mcp add --transport http surfing http://127.0.0.1:27125/mcp --header "Authorization: Bearer <token>"
  • Connect Codex CLI: add to ~/.codex/config.toml:
    [mcp_servers.surfing]
    url = "http://127.0.0.1:27125/mcp"
    http_headers = { Authorization = "Bearer <token>" }
    
    The settings page shows these snippets (and one for other clients) with copy buttons. Surfing never writes other apps' config files.
  • Tools: tabs_list, tabs_create, tabs_activate, tabs_close, navigate, read_page (elements with refs), find, get_page_text, click, type, key, scroll, form_input, screenshot, wait_for, console_messages, and javascript (off by default). Clicks, typing and keys are real input events.
  • Security: the server listens on 127.0.0.1 only; every request needs the bearer token; requests that carry an Origin header (that is, from web pages) or a foreign Host are rejected. The first time an agent reads or acts on a site, Obsidian asks you (Allow this time, Always allow, Deny) unless you chose Allow all sites. Blocked sites (example.com or *.example.com) are always refused. Running JavaScript in pages is off unless you turn it on. A tab an agent is controlling shows an Agent badge; its menu revokes that site for the session.

Usage

Use BookmarkLets Open URL

The plugin registers an Obsidain uri protocol that allows you to open eb-broswer in Obsidian using the URL obsidian://web-open?url=<url>. Where <url> refers to the web address link. Match bookmarklets will be able to click a bookmark in the browser to open the current browser URL within Obsidain.

  1. Open the Open URL In Obsidian Web option in the plugin settings.
  2. Under this option there is a link of bookmarklets, drag this link into your browser's bookmark bar. You can also click this link(will copy bookmarklets code), then create bookmarklets by yourself.
  3. Now you can click on the bookmark to open the current page of your browser in Obsidian.

Use Quickadd to search selection in ChatGPT in Surfing

  1. Create a macro based on this script: search-in-surfing
  2. Open ChatGPT in surfing, and select some text, then run the macro.

Installation

  • Search Surfing in the Obsidian Community Plugin marketplace.
  • Can be installed via the Brat plugin
  • Manual installation
  1. Find the release page on this github page and click
  2. Download the latest release zip file
  3. Unzip it, copy the unzipped folder to the obsidian plugin folder, make sure there are main.js and manifest.json files in the folder
  4. Restart obsidian (do not restart also, you have to refresh plugin list), in the settings interface to enable the plugin
  5. Done!

Contribution

Support

If you are enjoying this plugin then please support my work and enthusiasm by buying me a coffee on https://www.buymeacoffee.com/boninall. .