explaingit

xcanwin/keepchatgpt

Analysis updated 2026-06-24

14,899JavaScriptAudience · generalComplexity · 1/5Setup · easy

TLDR

KeepChatGPT is a Tampermonkey userscript that keeps ChatGPT sessions alive, hides errors like NetworkError, and adds clone, big-screen, and tracking-block features.

Mindmap

mindmap
  root((KeepChatGPT))
    Inputs
      ChatGPT page
      Tampermonkey
    Outputs
      Stable session
      Clean UI
      Cloned chats
    Use Cases
      Avoid session errors
      Block tracking
      Presentation mode
    Tech Stack
      JavaScript
      Userscript
      Tampermonkey
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Stop ChatGPT NetworkError and Conversation not found popups from interrupting a chat

USE CASE 2

Clone an existing ChatGPT conversation to branch your prompts without losing history

USE CASE 3

Hide page clutter and enter a big-screen presentation mode for demos

USE CASE 4

Block ChatGPT tracking and opt out of moderation auditing on the client

What is it built with?

JavaScriptUserscriptTampermonkey

How does it compare?

xcanwin/keepchatgptampproject/amphtmlriot/riot
Stars14,89914,90514,906
LanguageJavaScriptJavaScriptJavaScript
Setup difficultyeasyhardeasy
Complexity1/54/52/5
Audiencegeneraldeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Install only from the official GitHub user.js, copies in browser extension stores are not from the original author.

In plain English

KeepChatGPT is a browser userscript, written in Chinese and translated into English and Spanish, that adds quality-of-life features on top of the ChatGPT website. It is not an app you install on its own. It is a small JavaScript file that runs inside a userscript manager like Tampermonkey, so when you open chatgpt.com it modifies how the page behaves and looks. The stated goal is to make chats smoother and to cut out the dozen or so manual steps users normally do when ChatGPT throws errors. The README compares two flows side by side: without the script, common errors like NetworkError, Something went wrong, or Conversation not found force the user to copy the prompt, refresh the page, reopen the chat, paste, and resend. With KeepChatGPT, the script keeps the session active in the background so most of those errors are avoided. The feature list covers automatic refresh and keep-alive, a data-safety mode, a toggle that opts out of moderation auditing of conversations, a clone-conversation button, an unlimited-message helper, page-cleaning to remove clutter, a big-screen presentation mode, blocking of tracking, and visual themes including light and dark modes. The script supports desktop browsers and mobile browsers on Android (via Firefox with Tampermonkey), iOS (via the Stay extension in Safari), and Huawei HarmonyOS devices. Installation has two steps: install Tampermonkey from its official site, then install KeepChatGPT from the project's GitHub-hosted user.js file. The README warns that copies in the Chrome Web Store and Microsoft Edge add-on store are not from the original author and may charge users. The README also includes a development section explaining how to run a local dev loader with npm run dev, and lengthy troubleshooting notes for OpenAI errors like 401, 429, and 500.

Copy-paste prompts

Prompt 1
Install Tampermonkey and KeepChatGPT in Chrome and verify it removes the Conversation not found error
Prompt 2
Run KeepChatGPT on Android using Firefox plus Tampermonkey for a mobile ChatGPT setup
Prompt 3
Use the data-safety mode in KeepChatGPT and explain what it blocks on the ChatGPT page
Prompt 4
Run KeepChatGPT in dev mode with npm run dev to edit the userscript locally

Frequently asked questions

What is keepchatgpt?

KeepChatGPT is a Tampermonkey userscript that keeps ChatGPT sessions alive, hides errors like NetworkError, and adds clone, big-screen, and tracking-block features.

What language is keepchatgpt written in?

Mainly JavaScript. The stack also includes JavaScript, Userscript, Tampermonkey.

How hard is keepchatgpt to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is keepchatgpt for?

Mainly general.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.