← Awesome REA

Codex / ChatGPT / @dotey / ZH

Trace browser annotations to a public API

ENGLISH SUMMARY

Trace browser annotations to a public API

Investigate the annotation-to-composer flow in Codex's browser, discover an existing website API, and build a test page.

The question

Can a website request an annotation dialog and prefill a comment in Codex?

The workflow

  1. Investigate the app's browser annotation and message flow with REA.
  2. Have the user send a message to help observe the behavior.
  3. Build a page to test document.oai.annotation.request().

Findings & output

The test page could open the annotation dialog and prefill content; directly attaching a comment to the composer did not work.

Evidence scope

This is API discovery with partial behavior validation, not evidence of unrestricted composer access or support in other coding agents.

中文摘要

追踪浏览器标记,找到注解接口

分析 Codex 内置浏览器里“标记 → 评论 → 输入框”的链路,最后找到可由网页调用的注解接口,并做了测试页。

调查的问题

网页能否请求 Codex 打开注解,并预填评论?

怎么做的

  1. 用 REA 调查应用里的浏览器标记与消息链路。
  2. 用户配合实际发送一次消息,辅助分析。
  3. 制作测试页,核对 document.oai.annotation.request() 的行为。

发现与产出

测试页能打开评论框并填充内容;作者没有做到直接把评论附加到聊天输入框。

证据范围

是接口发现与部分行为验证。不能据此推断网页可以任意写入 composer,或其他编程助手也支持相同接口。

Original sources / 原始来源

Checked / 核对 2026-10-12 · Author report / 作者实践