跳到主要内容
OnionRouter

OnionRouter EN

LouisCourrian · Firefox

Visit .onion sites in Firefox automatically — Tor is downloaded and managed transparently in the background.

23用户 v1.0.2当前版本

简介

OnionRouter lets you visit .onion websites in your regular Firefox without installing the Tor Browser or configuring anything manually.

What it does

When you type a .onion URL, OnionRouter automatically routes the request through a local Tor proxy. Non-.onion traffic stays direct unless you explicitly enable one of the other routing modes.

Three routing modes

  • Onion only (default): only .onion URLs go through Tor.
  • All via Tor: every Firefox request goes through Tor (WebRTC is auto-disabled).
  • Whitelist: .onion URLs plus a user-controlled list of domains go through Tor.

Privacy details

  • DNS-via-Tor (proxyDNS) prevents your DNS resolver from seeing the .onion or whitelisted hostnames you visit.
  • WebRTC kill-switch automatically disables peer-connections in "All via Tor" mode and is user-toggleable in other modes.
  • The Rust companion uses the official Tor Expert Bundle directly from dist.torproject.org, with SHA-256 verification against pinned hashes.
  • If you already have Tor Browser or system Tor running, OnionRouter verifies it via the Tor Control Port (PROTOCOLINFO + AUTHENTICATE + GETINFO version) and reuses it rather than starting a duplicate.

How it's built

OnionRouter is split into two parts:

  • This Firefox extension (Manifest V3) — handles UI, request routing and Firefox-level privacy settings.
  • A small Rust companion program (~1 MB, open source) installed via a separate Windows installer. The companion speaks Mozilla's Native Messaging protocol and is what actually downloads, verifies and runs the Tor binary.

The companion source code, the verification hashes, and the build pipeline are all auditable at github.com/LouisCourrian/OnionRooter.

Requirements

  • Firefox 115 or newer
  • Windows 10/11 (Linux and macOS installers planned)
  • About 50 MB of disk space for the cached Tor binary on first run

OnionRouter 是做什么的

OnionRouter 是一款面向 Firefox 的隐私与安全类扩展,主要用来拦截追踪器、屏蔽广告、管理 Cookie、加固浏览器指纹。官方对它的介绍是:Visit .onion sites in Firefox automatically — Tor is downloaded and managed transparently in the background.在Firefox 附加组件商店(AMO)上,它当前版本 1.0.2,约 23 名用户。

适合什么人用

从功能定位看,OnionRouter 更适合在意上网被跟踪、希望减少广告干扰的用户。如果你平时只是偶尔遇到相关需求,用浏览器自带功能也能凑合;但如果这件事每天都发生,装一个专门处理它的扩展通常比手动操作省事得多。

怎么安装 OnionRouter

  1. 打开Firefox 附加组件商店(AMO)上的官方页面;
  2. 点「添加到浏览器」并确认权限提示;
  3. 装好后在扩展列表里固定图标,方便随时开关。

本站只做索引与介绍,安装包来自官方商店。如果商店页面提示当前地区不可用,说明该扩展未在你所在区域上架。

常见问题

OnionRouter 是免费的吗?

OnionRouter 在Firefox 附加组件商店(AMO)免费提供下载。它是浏览器扩展,装上就能直接用,不需要注册账号。

OnionRouter 安全吗?

它只申请了 0 项权限,范围比较克制,没有申请「读取所有网站数据」这种大权限。

OnionRouter 支持哪些浏览器?

当前收录的版本来自Firefox 附加组件商店(AMO),适用于 Firefox。同一个扩展在其他商店可能有对应版本,但功能与版本号不一定相同。

怎么卸载 OnionRouter?

在扩展管理页找到 OnionRouter,点移除即可。它在本地保存的设置会一起清掉,不会残留数据。

权限清单 来自 manifest.json 原文

接口权限 9

  • alarms
  • nativeMessaging
  • notifications
  • privacy
  • proxy
  • storage
  • tabs
  • webRequest
  • webRequestBlocking