<a id="top"></a>

<div align="right">
    <h6>
        <picture>
            <source type="image/svg+xml" media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/gh/adamlui/ai-web-extensions@a65228a/assets/images/icons/earth/white/icon32.svg">
            <img height=14 src="https://cdn.jsdelivr.net/gh/adamlui/ai-web-extensions@a65228a/assets/images/icons/earth/black/icon32.svg">
        </picture>
        &nbsp;English |
        <a href="zh-cn/#readme">简体中文</a>
    </h6>
</div>

<a href="https://raw.githubusercontent.com/adamlui/chatgpt-auto-continue/refs/heads/main/greasemonkey/chatgpt-auto-continue.user.js"><img src="https://cdn.jsdelivr.net/gh/adamlui/chatgpt-auto-continue@3f57d16/assets/images/tiles/marquee/tile1400x560.png"></a>

<div align="center">

<a href="../LICENSE.md">
    <img alt="[License: MIT]" src="https://img.shields.io/badge/License-MIT-orange.svg?logo=internetarchive&logoColor=white&labelColor=464646&style=for-the-badge"></a>
<a href="https://github.com/adamlui/chatgpt-auto-continue/blob/main/greasemonkey/chatgpt-auto-continue.user.js">
    <img height=32 src="https://img.shields.io/github/size/adamlui/chatgpt-auto-continue/greasemonkey/chatgpt-auto-continue.user.js?label=Filesize&logo=databricks&logoColor=white&labelColor=464646&color=ff69b4&style=for-the-badge"></a>
<a href="https://www.codefactor.io/repository/github/adamlui/chatgpt-auto-continue">
    <img alt="[CodeFactor grade]" src="https://img.shields.io/codefactor/grade/github/adamlui/chatgpt-auto-continue?label=Code+Quality&logo=codefactor&logoColor=white&labelColor=464646&color=b3ff68&style=for-the-badge"></a>
<a href="https://github.com/KudoAI/chatgpt.js?utm_source=chatgpt_auto_continue&utm_content=github_shield">
    <img alt="[Powered by chatgpt.js]" src="https://img.shields.io/badge/Powered_by-chatgpt.js-black?logo=gamejolt&logoColor=white&labelColor=464646&style=for-the-badge"></a>
<a href="https://sonarcloud.io/component_measures?metric=vulnerabilities&id=adamlui_chatgpt-auto-continue">
    <img alt="[SonarCloud vulnerabilities]" src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fsonarcloud.io%2Fapi%2Fmeasures%2Fcomponent%3Fcomponent%3Dadamlui_chatgpt-auto-continue%26metricKeys%3Dvulnerabilities&query=%24.component.measures.0.value&style=for-the-badge&logo=sonar&logoColor=white&labelColor=464646&label=Vulnerabilities&color=ffef00"></a>
<a href="https://github.com/awesome-scripts/awesome-userscripts/#-chatgpt">
    <img alt="[Mentioned in Awesome]" src="https://img.shields.io/badge/Mentioned_in-Awesome-cb48dc?logo=awesomelists&logoColor=white&labelColor=464646&style=for-the-badge"></a>
<a href="https://www.jsdelivr.com/package/gh/adamlui/chatgpt-auto-continue?tab=stats">
    <img alt="[jsDelivr stats]" src="https://img.shields.io/jsdelivr/gh/hm/adamlui/chatgpt-auto-continue?style=for-the-badge&logo=jsdelivr&logoColor=white&label=jsDelivr%20Requests&labelColor=464646&color=2bbbd8"></a>
<br><br>

<a href="https://raw.githubusercontent.com/adamlui/chatgpt-auto-continue/refs/heads/main/greasemonkey/chatgpt-auto-continue.user.js"><img height=45 alt="[Install this script]" src="https://cdn.jsdelivr.net/gh/adamlui/ai-web-extensions@8841371/assets/images/buttons/greasy-fork/install-button.svg"></a><a href="#-installation"><img height=45 alt="[How to install]" title="How to install" src="https://cdn.jsdelivr.net/gh/adamlui/ai-web-extensions@8841371/assets/images/buttons/greasy-fork/help-button.svg"></a>
<br>
[Discuss](https://github.com/adamlui/chatgpt-auto-continue/discussions) /
[Get support](https://github.com/adamlui/chatgpt-auto-continue/issues) /
[Contact author](https://github.com/adamlui)

</div>

## 💡 About

**ChatGPT Auto-Continue** automatically continues the chat when ChatGPT stops responding mid-conversation, eliminating the need to ever click 'Continue generating' again.

<div align="center">

<img width=388 src="https://cdn.jsdelivr.net/gh/adamlui/chatgpt-auto-continue/assets/images/screenshots/continue-button-crossed.png"> <img width=321 src="https://cdn.jsdelivr.net/gh/adamlui/chatgpt-auto-continue/assets/images/screenshots/auto-continue-on-notification-checked.png">

</div>

<br>

## 🚀 Installation

1. Install a userscript manager, such as:
    - ScriptCat for [Chrome](https://chromewebstore.google.com/detail/scriptcat/ndcooeababalnlpkfedmmbbbgkljhpjf), [Firefox](https://addons.mozilla.org/firefox/addon/scriptcat/) or [Edge](https://microsoftedge.microsoft.com/addons/detail/scriptcat/liilgpjgabokdklappibcjfablkpcekh)
    - Violentmonkey for [Firefox](https://addons.mozilla.org/firefox/addon/violentmonkey/) or [Edge](https://microsoftedge.microsoft.com/addons/detail/eeagobfjdenkkddmbclomhiblgggliao)
    - OrangeMonkey for [Chrome](https://chromewebstore.google.com/detail/orangemonkey/ekmeppjgajofkpiofbebgcbohbmfldaf)
    - Tampermonkey for [Chrome](https://chromewebstore.google.com/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo), [Firefox](https://addons.mozilla.org/firefox/addon/tampermonkey/) or [Edge](https://microsoftedge.microsoft.com/addons/detail/tampermonkey/iikmkjmpaadaobahmlepeloendndfphd)
    - [Stay](https://apps.apple.com/app/stay-for-safari/id1591620171) or [Userscripts](https://apps.apple.com/app/userscripts/id1463298887) for Safari

2. Install [ChatGPT Auto-Continue](https://raw.githubusercontent.com/adamlui/chatgpt-auto-continue/refs/heads/main/greasemonkey/chatgpt-auto-continue.user.js) userscript (will load in manager installed above)

3. Visit [chatgpt.com](https://chatgpt.com) as normal, and multi-reply conversations will automatically continue generating when cut-off!
<br><br>

## ⚡ Dependencies

<h6>
<div align="center">

<a href="https://chatgpt.js.org">
    <picture>
        <source type="image/png" media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/gh/KudoAI/chatgpt.js@8169c77/assets/images/logos/chatgpt.js/with-reflection/darkmode/logo-6014x1334.png">
        <img width=546 src="https://cdn.jsdelivr.net/gh/KudoAI/chatgpt.js@8169c77/assets/images/logos/chatgpt.js/with-reflection/lightmode/logo-6014x1334.png">
    </picture>
</a>
<br><br>

ChatGPT Auto-Continue relies on code from the powerful [chatgpt.js](https://github.com/KudoAI/chatgpt.js) library
<br>© 2023–2026 KudoAI & contributors under the MIT license.

</div>
</h6>

#

<br>

<div align="center">

<a href="https://scriptcat.org/scripts/code/6419/chatgpt-infinity.user.js"><img height=45 alt="[Install this script]" src="https://cdn.jsdelivr.net/gh/adamlui/ai-web-extensions@8841371/assets/images/buttons/greasy-fork/install-button.svg"></a><a href="#-installation"><img alt="[How to install]" title="How to install" height=45 src="https://cdn.jsdelivr.net/gh/adamlui/ai-web-extensions@8841371/assets/images/buttons/greasy-fork/help-button.svg"></a>
<br>
[Discuss](https://github.com/adamlui/chatgpt-infinity/discussions) / 
[More ChatGPT userscripts](https://github.com/adamlui/userscripts/tree/master/chatgpt)

</div>

<!-- CONTRIBUTORS -->

## 🧠 Contributors

<a href="https://github.com/adamlui/chatgpt-auto-continue/graphs/contributors">
    <img height=45 width="auto" src="https://contrib.rocks/image?repo=adamlui/chatgpt-auto-continue" /></a>
<br><br>

All contributions are very welcome!

## 🤖 More ChatGPT extensions

For even more ChatGPT extensions, visit: https://github.com/adamlui/ai-web-extensions
<br><br>

## 📜 Related scripts

### <picture><source type="image/png" media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/gh/adamlui/ai-web-extensions@8841371/assets/images/icons/openai/white/icon16.png"><img width=16 src="https://cdn.jsdelivr.net/gh/adamlui/ai-web-extensions@8841371/assets/images/icons/openai/black/icon16.png"></picture> [ChatGPT Auto-Talk 📣](https://github.com/adamlui/chatgpt-auto-talk) &nbsp;<a href="https://github.com/awesome-scripts/awesome-userscripts/#-chatgpt"><img src="https://cdn.jsdelivr.net/gh/adamlui/ai-web-extensions@8841371/assets/images/badges/awesome/badge.svg"></a>

> Auto-play ChatGPT responses.
<br>[Install](https://github.com/adamlui/chatgpt-auto-talk/#-installation) /
[Readme](https://github.com/adamlui/chatgpt-auto-talk/#readme) /
[Discuss](https://github.com/adamlui/chatgpt-auto-talk/discussions)

### <img width=16 src="https://cdn.jsdelivr.net/gh/adamlui/ai-web-extensions@8841371/assets/images/icons/infinity-symbol/circled/icon32.png"> [ChatGPT Infinity](https://github.com/adamlui/chatgpt-infinity/#readme) &nbsp;<a href="https://chromewebstore.google.com/detail/chatgpt-infinity/amikeononomkhphopbflomhnmdijjpmb/?utm_source=github&utm_medium=referral&utm_content=featured-by-google-badge"><img height=20 src="https://cdn.jsdelivr.net/gh/adamlui/ai-web-extensions@8841371/assets/images/badges/chrome-web-store/featured-by-google/badge500x91.png"></a>

> Generate endless answers from all-knowing ChatGPT (in any language!)
<br>[Install](https://github.com/adamlui/chatgpt-infinity/tree/main/docs/#-installation) / 
[Readme](https://github.com/adamlui/chatgpt-infinity/tree/main/docs/#readme) / 
[Discuss](https://github.com/adamlui/chatgpt-infinity/discussions)

### <img width=17 src="https://cdn.jsdelivr.net/gh/adamlui/chatgpt-widescreen@82ef9ab/assets/images/icons/widescreen-robot-emoji/icon32.png"> [ChatGPT Widescreen](https://github.com/adamlui/chatgpt-widescreen/#readme) &nbsp;<img src="https://cdn.jsdelivr.net/gh/adamlui/chatgpt-widescreen@9925794/assets/images/badges/product-hunt/product-of-the-week-2-larger-centered-rounded-light.svg" width="auto" height="24" />

> Enhances ChatGPT with wide/full/tall-screen + spamblock modes. Also works on poe.com!
<br>[Install](https://github.com/adamlui/chatgpt-widescreen/tree/main/docs/#-installation) / 
[Readme](https://github.com/adamlui/chatgpt-widescreen/tree/main/docs/#readme) / 
[Discuss](https://github.com/adamlui/chatgpt-widescreen/discussions)

<img height=6px width="100%" src="https://cdn.jsdelivr.net/gh/adamlui/ai-web-extensions@8841371/assets/images/separators/gradient-aqua.png">
  
<a href="https://github.com/adamlui/userscripts">**More userscripts**</a> / 
<a href="#top">Back to top ↑</a>
