r/userscripts • • 5d ago

Gemini HUD Limit Monitor.

Userscript for Violentmonkey / Tampermonkey that displays an always-visible floating overlay on gemini.google.com with your plan's quota usage (5-hour limit and weekly limit), without having to manually open gemini.google.com/usage.

Features

  • Real-time update after every response: automatically detects when Gemini finishes generating a response (whether sent via Enter / Send button, clicking a follow-up suggestion card, or regenerating a response) and queries /usage in the background after 2 s.
  • Periodic & manual refresh: in addition to updating after each response, refreshes every 5 minutes (only while the tab is visible) and includes a manual ↻ button.
  • Color-coded traffic light + status emojis:
    • Green (< 50 %) 😎
    • Yellow (50–79 %) 😐
    • Red (>= 80 %) πŸ’€
    • Includes animated progress bars and compact reset times/dates ((1:26 pm) / (Nov 29 10:26 pm)).
  • Customizable & persistent:
    • Draggable anywhere on screen (position is saved automatically).
    • Adjustable zoom (Aβˆ’ / A+ or Ctrl + mouse wheel, from 0.8Γ— to 1.6Γ—).
    • Transparency panel (100 %, 85 %, 70 %, 55 %) applied to the entire overlay.
    • Minimize button (– / +).
    • Preferences and latest state persisted in localStorage.
  • Automatic multi-language (ES / EN): adapts automatically to Gemini's web interface language (LΓ­mites de uso / Usage limits), including 24-hour format for Spanish and 12-hour am/pm format for English.
  • Isolated & CSP / Trusted Types safe: rendered inside a Shadow DOM without innerHTML.

https://greasyfork.org/es/scripts/608166-gemini-hud-limit-monitor

4 Upvotes

1 comment sorted by

2

u/LeBoulu777 4d ago

πŸ‘β€οΈ