ChatGPT Codex Usage Background Sync Widget

Load Codex analytics in a hidden iframe and show compact draggable 5h/weekly usage on any chatgpt.com page.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
zeigo takashiro
今日安裝
0
安裝總數
1
評價
0 0 0
版本
0.6.1
建立日期
2026-04-18
更新日期
2026-04-18
尺寸
17.4 KB
授權條款
MIT
腳本執行於

ChatGPT Codex Usage Background Sync Widget

在任意 chatgpt.com 页面显示 Codex 用量的小组件。
A compact widget that shows Codex usage on any chatgpt.com page.

功能 Features

  • 显示 5 小时每周 用量
    Show 5-hour and weekly usage
  • 默认迷你模式
    Compact mode by default
  • 支持展开查看详细信息
    Expand for detailed info
  • 支持拖动位置
    Draggable widget
  • 自动记住位置和展开状态
    Remembers position and expanded state
  • 无需手动打开 analytics 页面
    Works without manually opening the analytics page

工作方式 How it works

脚本会在后台用隐藏 iframe 加载 Codex analytics 页面,并读取页面中已经显示的用量信息。
The script loads the Codex analytics page in a hidden iframe and reads the usage information already shown on that page.

不会直接调用私有 API
It does not directly call private APIs.

安装 Installation

  1. 安装 Tampermonkey
    Install Tampermonkey
  2. 新建用户脚本
    Create a new userscript
  3. 粘贴脚本并保存
    Paste the script and save
  4. 打开任意 https://chatgpt.com/* 页面
    Open any https://chatgpt.com/* page

使用 Usage

  • 默认显示迷你信息:5h xx% | W xx%
    Default compact display: 5h xx% | W xx%
  • 点击 Expand 查看详细信息
    Click Expand for details
  • 拖动顶部栏移动小组件
    Drag the top bar to move the widget
  • 点击 Refresh 手动刷新
    Click Refresh to update manually

说明 Notes

  • 需要已登录 ChatGPT
    Requires a logged-in ChatGPT session
  • 依赖当前 Codex analytics 页面的结构
    Depends on the current Codex analytics page structure
  • 如果页面结构变化,脚本可能需要更新
    If the page structure changes, the script may need updates

免责声明 Disclaimer

这是一个非官方脚本,与 OpenAI 无关。
This is an unofficial script and is not affiliated with OpenAI.

License

MIT