Skip to content

↻ Keeps ChatGPT sessions fresh to avoid network errors + Cloudflare checks

License

Notifications You must be signed in to change notification settings

adamlui/chatgpt-auto-refresh

Repository files navigation

 English | 简体中文

ChatGPT Auto Refresh ↻

[License: MIT] [CodeFactor grade] [Powered by chatgpt.js] [SonarCloud vulnerabilities] [Mentioned in Awesome] [jsDelivr stats]

Keeps ChatGPT sessions fresh via background requests to eliminate network errors + Cloudflare checks.

Important

Greasy Fork users: If you installed ChatGPT Auto-Refresh before January 18, 2025, auto-updates no longer work because the script's update mechanism has migrated to GitHub. To continue receiving updates, click the green 'Install this script' button below (once) or click this link (once)

[Install this script][How to install]
Discuss / Get support / Contact author

💡 What it does

  • Removes 10-minute time limit from conversations (when in Temporary Chat mode)

  • Get rid of annoying Cloudflare checks:

  • Get rid of annoying ChatGPT network errors:

💊 Benefits

   🛡️ Safe — No unnecessary account-related requests sent

   🪶 Lightweight — Very little code used, only what's neccessary (keep session alive) saving memory

   ⌛ Time-saver — No more constant copy/paste/refresh just from minutes of inactivity!

   🤯 Works even in background tabs!

🗨️ User feedback

🚀 Installation

  1. Install a userscript manager:

  2. Install ChatGPT Auto Refresh userscript (will load in manager installed above)

  3. Visit chatgpt.com as normal, and sessions will auto-refresh at a regular interval!

⚡ Dependencies



ChatGPT Auto Refresh relies on code from the powerful chatgpt.js library
© 2023–2025 KudoAI & contributors under the MIT license.

🌐 Compatibility

ChatGPT Auto Refresh is compatible w/ the following browsers using ScriptCat, Violentmonkey, OrangeMonkey, OrangeMonkey Pro or Tampermonkey:


[Install this script][How to install]
Discuss / Get support / More ChatGPT userscripts

🧠 Contributors

This project exists thanks to code, testing, issues, translations & ideas from the following contributors:

🤖 More ChatGPT apps

For even more epic ChatGPT apps, visit: https://github.com/adamlui/ai-web-extensions

📜 Related scripts

Enhances ChatGPT with wide/full/tall-screen + spamblock modes. Also works on perplexity.ai + poe.com!
Install / Readme / Discuss

Automatically continue generating multiple ChatGPT responses.
Install / Readme / Discuss

Generate endless answers from all-knowing ChatGPT (in any language!)
Install / Readme / Discuss

More userscripts / Back to top ↑