Skip to content

bluishwu/VeilBar

Repository files navigation

VeilBar

一个轻量级的 Chrome 扩展,用来遮住 ChatGPT 侧边栏里的对话标题——这样你在演示、直播、或公共场合工作时,不会暴露最近聊了什么。

A lightweight Chrome extension that hides ChatGPT conversation titles in the sidebar, so you can share your screen, stream, or work in public without exposing what you've been chatting about.

Chrome Plugin MIT License

Hero

功能

  • 假名模式 — 把每个标题替换成随机可爱昵称(同一对话稳定不变)。
  • 日期模式 — 用最近更新日期替换标题,提供 9 种格式(纯日期、斜杠、中文、星期、相对时间、含时分等)。
  • 占位符模式 — 全部替换为 ••••••••
  • 模糊模式 — 标题模糊显示,悬停可看清。
  • 隐藏模式 — 标题与背景同色,完全融入。
  • 关闭 — 恢复原标题。

模式与格式通过 chrome.storage.sync 跨设备同步,切换无需刷新页面即可实时生效。

Modes

安装(开发者模式)

  1. 克隆或下载本仓库。
  2. 浏览器打开 chrome://extensions
  3. 右上角开启 开发者模式
  4. 点击 加载已解压的扩展程序,选择项目根目录。
  5. 把 VeilBar 固定到工具栏,点击图标即可选择模式。

Popup

语言

UI 会自动检测浏览器语言,支持:英语 (en) / 简体中文 (zh_CN) / 日本語 (ja) / हिन्दी (hi)。也可在 popup 中手动切换。

隐私

VeilBar 完全在本地运行。除了 ChatGPT 自己的域名外,不向任何第三方发送数据——仅在「日期模式」下会调用 ChatGPT 官方 API /backend-api/conversations 来获取每个对话的时间戳。无埋点、无遥测、无外部服务器。

权限说明:

  • storage —— 保存模式 / 格式 / 语言偏好。
  • https://chatgpt.com/*https://chat.openai.com/* 的主机访问权限 —— 用于读取并重写侧边栏。

项目结构

manifest.json       # MV3 清单
background.js       # 安装时图标脉动 / 角标 service worker
content.js          # 侧边栏扫描与标题重写
popup.html / .js / .css   # 工具栏弹窗 UI
styles.css          # content script 注入的样式(模糊 / 隐藏模式依赖)
i18n.js             # popup 与 content script 共享的 i18n 层
fake-names.js       # 确定性昵称生成器
_locales/<lang>/messages.json   # 多语言文案
icons/              # 工具栏图标(含安装脉动用的高亮版本)
screenshots/        # 商店 / README 截图(PNG + SVG 源文件)

贡献

欢迎 issue 和 PR。
致谢:Linux.do

许可证

MIT © 2026 VeilBar


Features

  • Fake names — replace every title with a cute random nickname (deterministic per conversation).
  • Date — show the last-updated date instead of the title, with 9 format options (plain, slashed, CN style, weekday, relative, datetime, etc.).
  • Placeholder — replace each title with ••••••••.
  • Blur — keep the real titles but blur them; hover to reveal.
  • Hide — blend titles into the background entirely.
  • Off — restore original titles.

Mode and format are synced across devices via chrome.storage.sync. Switching modes takes effect instantly without a page reload.

Modes

Installation (developer mode)

  1. Clone or download this repository.
  2. Open chrome://extensions in Chrome.
  3. Enable Developer mode (top right).
  4. Click Load unpacked and select the project root directory.
  5. Pin VeilBar to the toolbar and click the icon to choose a mode.

Popup

Languages

The UI auto-detects your browser language and supports English (en), 简体中文 (zh_CN), 日本語 (ja), and हिन्दी (hi). You can override the language via the picker in the popup.

Privacy

VeilBar runs entirely in your browser. It does not send data anywhere except to chatgpt.com itself (only when Date mode is active, it calls ChatGPT's own /backend-api/conversations endpoint to learn each conversation's timestamp). No analytics, no telemetry, no third-party servers.

Required permissions:

  • storage — to remember your chosen mode/format/language.
  • Host access to https://chatgpt.com/* and https://chat.openai.com/* — to read and rewrite the sidebar.

Project structure

manifest.json       # MV3 manifest
background.js       # service worker (install-time icon pulse & badge)
content.js          # sidebar scanner & title rewriter
popup.html / .js / .css   # toolbar popup UI
styles.css          # injected by the content script (powers blur / hide modes)
i18n.js             # shared i18n layer for popup + content script
fake-names.js       # deterministic nickname generator
_locales/<lang>/messages.json   # localized strings
icons/              # toolbar icons (normal + bright variants for install pulse)
screenshots/        # store / README screenshots (PNG + SVG source)

Contributing

Issues and pull requests are welcome.

License

MIT © 2026 VeilBar

About

隐藏你的 ChatGPT 侧边栏标题——把对话标题换成假名、日期、模糊及更多隐藏形式; Hide your ChatGPT sidebar titles — replace them with fake names, dates, blur, and more hiding styles.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors