Skip to content

feat: update Hide Usage Alert to 0.1.5#64

Open
0xTotoroX wants to merge 1 commit into
BigPizzaV3:mainfrom
0xTotoroX:codex/hide-usage-alert-0.1.5
Open

feat: update Hide Usage Alert to 0.1.5#64
0xTotoroX wants to merge 1 commit into
BigPizzaV3:mainfrom
0xTotoroX:codex/hide-usage-alert-0.1.5

Conversation

@0xTotoroX

Copy link
Copy Markdown
Contributor

更新内容

Hide Usage Alert 0.1.4 -> 0.1.5:

  • 新增顶栏「获取 Plus / Get Plus / 升级至 Plus / 免费试用 Plus」升级按钮隐藏,标记 kind 为 plus-upsell
  • 规则只匹配 header 内 button/a/[role=button] 的完整短文本,不触碰会话内容区,避免误杀正文里提到 Plus 的消息
  • 复用既有 scanSubtree + MutationObserver + hideNode 链路,无新增 observer,生命周期语义不变

市场元数据

  • index.json:version 0.1.5、description 与 sha256 同步更新,updated_at 已刷新
  • scripts/hide-usage-alert.js 与独立仓库 main 的发布产物逐字节一致

验证

  • 独立仓库:node test-matchers.js 全部通过(fail 0),node --check 通过
  • 市场分支:node --check、jq 结构校验、id 唯一性校验、sha256 一致性校验、git diff --check 全部通过
  • 实机:CDP 热注入 Codex Desktop 主页面,header 中动态渲染的获取 Plus 按钮约 300ms 内被隐藏,observer 存活

SHA-256: c7e907e998bfc3d4153302fa84dfb0b1e4fa16d6e738db669713a84872f631d6

上游发布源: https://github.com/0xTotoroX/codex-hide-usage-alert

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant