Guides知识库 / Isolation & Anti-Fingerprint隔离与反指纹架构 · Playbook 隔离实战 Verified 2026-12-01 · 4 min read 预计 4 分钟

OS-Level Browser Profile Isolation (.command / .bat Playbook)

如何用独立目录与系统时区隔离多账号?(macOS .command / Windows .bat 实战)

Direct Answer
先说结论 · DIRECT ANSWER

Passing --user-data-dir alongside a regional TZ environment variable launches a completely separate browser instance with its own cookies, localStorage, extensions, and native timezone across every thread and Web Worker — with zero JS spoofing and zero cookie bleed.

用 --user-data-dir 配合系统 TZ 环境变量启动浏览器,可以得到一个完全独立的工作区:Cookie、本地存储、扩展和系统时区全部物理隔离,主线程和 Web Worker 天然一致,且零脚本注入风险。

Real Scenario
典型场景

You manage a US SaaS account, a Japanese store, and domestic daily browsing on the same laptop, and want zero cookie or timezone crossover without paying monthly fees for heavyweight antidetect browsers.

同一台电脑上要同时用美区 AI 账号、日区业务后台和国内日常办公,不想每月花几十美元买指纹浏览器,又不想 Cookie 和时区互相污染。

Diagnostic Breakdown (Scene → Risk → Fix)

核心排查对照表(场景 → 风险 → 解法)

Region PresetOS TZ VariableRecommended Profile Folder
United States (West)America/Los_AngelesNulltrace-US-West
United States (East)America/New_YorkNulltrace-US-East
Japan (Tokyo)Asia/TokyoNulltrace-JP-Tokyo
United Kingdom (London)Europe/LondonNulltrace-UK-London
Germany (Frankfurt)Europe/BerlinNulltrace-DE-Berlin
常用地区预设系统 TZ 时区变量建议独立目录名
美国西部(硅谷/洛杉矶)America/Los_AngelesNulltrace-US-West
美国东部(纽约)America/New_YorkNulltrace-US-East
日本(东京)Asia/TokyoNulltrace-JP-Tokyo
英国(伦敦)Europe/LondonNulltrace-UK-London
德国(法兰克福)Europe/BerlinNulltrace-DE-Berlin

Actionable Commands & Setup

分系统实操命令与设置

#!/bin/bash
export TZ="America/Los_Angeles"
open -na "Google Chrome" --args --user-data-dir="$HOME/Nulltrace-US" --lang=en-US

1. No Terminal Typing Required with Nulltrace Launchers

一、不想敲命令行?直接一键下载双击启动器

In Nulltrace Step 2 (Fix -> Isolated Workspace), pick your target region and OS, then click Download Launcher (.command for macOS or .bat for Windows). Double-click the downloaded file anytime you want to open that clean regional browser.

在 Nulltrace 扩展第 2 步(修复 → 隔离工作区)里选好目标地区和系统,直接点「下载双击启动器」,会自动生成 macOS .command 或 Windows .bat 文件,以后双击图标就能拉起干净的独立浏览器。

2. Keep One Proxy Exit Per Workspace

二、一目录一地区,配合固定节点

Pair each workspace with a stable proxy node in the matching country. Before logging in for the first time, open /leak-test/ inside that workspace to confirm Exit IP, DNS, WebRTC, and Timezone all show green.

每个隔离目录固定对应一个国家节点。首次登录账号前,在这个独立窗口里打开 /leak-test/ 跑一遍,确认出口 IP、DNS、WebRTC 和时区全部绿灯再登录。

Frequently Asked Questions

常见疑问

Will macOS ask for permission the first time I double-click a .command file?

Yes, macOS marks downloaded scripts non-executable until you run chmod +x once (or right-click -> Open). After that, double-clicking launches your isolated browser immediately.

macOS 第一次双击 .command 提示无权限怎么办?

这是 macOS 的下载文件保护机制,按提示在终端执行一次 chmod +x(或右键打开)授权后,以后直接双击就能秒开。