Claude Usage Overlay

Displays Claude.ai session and weekly usage stats as a floating overlay while you chat.

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

ผู้เขียน
tac-tac-go
จำนวนติดตั้งประจำวัน
3
จำนวนติดตั้งทั้งหมด
5
คะแนน
0 0 0
เวอร์ชัน
1.0.0
สร้างเมื่อ
04-04-2026
อัปเดตเมื่อ
04-04-2026
Size
3.23 กิโลไบต์
สัญญาอนุญาต
MIT
ปรับใช้กับ

# Claude Usage Overlay

A Tampermonkey userscript that displays your Claude.ai usage stats as a floating overlay while you chat.

## Features

- Shows current session usage (%) and reset time
- Shows weekly usage (%) and reset time
- Auto-refreshes every 5 minutes
- Click the overlay to manually refresh

## How It Works

Since `claude.ai` is a React SPA, usage data is not available in the raw HTML from `fetch()`. Instead, this script loads `/settings/usage` in a hidden iframe and waits for React to finish rendering, then reads the `aria-valuenow` attributes from the progress bar elements.

No extra API calls or tokens are consumed — it's equivalent to opening the settings page in a browser tab.

## Installation

1. Install [Tampermonkey](https://www.tampermonkey.net/)
2. Click **Install** on the Greasy Fork page
3. Open any `claude.ai/chat/*` page — the overlay appears in the bottom-right corner

## Author

tac-tac-go

## License

MIT