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.

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

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

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
zeigo takashiro
1日のインストール数
0
累計インストール数
1
評価
0 0 0
バージョン
0.6.1
作成日
2026/04/18
更新日
2026/04/18
大きさ
17.4KB
ライセンス
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