## File: README.md

| [中文](https://github.com/xcanwin/KeepChatGPT/blob/main/README.md) | [English](https://github.com/xcanwin/KeepChatGPT/blob/main/docs/README_EN.md) | [Español](https://github.com/xcanwin/KeepChatGPT/blob/main/docs/README_ES.md) |
| --- | --- | --- |

## 项目简介

- 喜欢这个插件的小伙伴，可以给我的GITHUB项目 [KeepChatGPT](https://github.com/xcanwin/KeepChatGPT) 点个⭐️STAR支持一下。
- 这是一款提高```ChatGPT```的数据安全能力和效率的插件。它可以让你的聊天无比丝滑，省去足足几十数百个多余步骤，一劳永逸摆脱各种```报错```和```警告```。并且免费共享大量创新功能，如：自动刷新、保持活跃、数据安全、取消审计、克隆对话、言无不尽、净化页面、展示大屏、拦截跟踪、日新月异、明察秋毫等。让我们的AI体验无比安全、顺畅、丝滑、高效、简洁。
- 没有研发经费，纯用爱发电，欢迎关注。谢谢[赞赏猫粮](#赞赏)

## 展示

| 序号 | 截图 |
| --- | --- |
| 1 | 亮色主题 + 净化页面 |
| 2 | 亮色主题 + 明察秋毫 + 展示大屏 + 日新月异 |
| 3 | 暗色主题 + 明察秋毫 + 展示大屏 + 日新月异 |
| 4 | 移动端 + 净化页面 |

## 功能简介

1.  支持[调整间隔](#关于-调整间隔-功能)
2.  支持[数据安全](#关于-数据安全-功能)
3.  支持[取消审计](#关于-取消审计-功能)
4.  支持[克隆对话](#关于-克隆对话-功能)
5.  支持[言无不尽](#关于-言无不尽-功能)
6.  支持[净化页面](#关于-净化页面-功能)
7.  支持[展示大屏](#关于-展示大屏-功能)
8.  支持[拦截跟踪](#关于-拦截跟踪-功能)
9.  支持[日新月异](#关于-日新月异-功能)
10. 支持[明察秋毫](#关于-明察秋毫-功能)
11. 支持多国语言
12. 支持[电脑系统](#使用方法-电脑系统)
13. 支持移动系统 ([鸿蒙](#使用方法-鸿蒙系统)、[iOS](#使用方法-iOS系统)、[Android](#使用方法-鸿蒙系统))
14. 支持[保持活跃](#关于-保持活跃-功能)
15. 解决聊天中断
16. 解决频繁刷新
17. 解决消息无法发送
18. 解决以下报错

| 序号 | 解决以下报错 |
| --- | --- |
| 1 | NetworkError when attempting to fetch resource. |
| 2 | Something went wrong. If this issue persists please contact us through our help center at help.openai.com. |
| 3 | Conversation not found |
| 4 | This content may violate our content policy. If you believe this to be in error, please submit your feedback — your input will aid our research in this area. |

## 用户反馈

- 有好有坏
- 对于好的谢谢大家点赞
- 对于坏的会持续更新






## 安装渠道

官方渠道✅:

| 序号 | UserScript源 | 备注 |
| --- | --- | --- |
| 1 | [Github开源社区](https://raw.githubusercontent.com/xcanwin/KeepChatGPT/main/KeepChatGPT.user.js) | ✅推荐 |

~~虚假渠道~~❌:

| 序号 | UserScript源 | 备注 |
| --- | --- | --- |
| 1 | [~~谷歌应用商店~~](https://chrome.google.com/webstore/category/extensions) | ⚠️当心，这不是作者上传的。有人抄袭了KeepChatGPT，并且要求用户付费 |
| 2 | [~~微软应用商店~~](https://microsoftedge.microsoft.com/) | ⚠️当心，这不是作者上传的。有人抄袭了KeepChatGPT，并且要求用户付费 |

## 使用方法 电脑系统

1. 安装```Tampermonkey```，通过 [官网](https://www.tampermonkey.net/)；
2. 安装```KeepChatGPT```，通过 [安装渠道](#安装渠道)；
3. 访问 [ChatGPT](https://chatgpt.com/)（兼容旧域名 `chat.openai.com`）；

## 使用方法 鸿蒙系统

1. 浏览器用```Firefox```；
2. 安装```Firefox```，通过 [华为应用市场](https://appgallery.huawei.com/app/C31765)、[官网](https://www.mozilla.org/firefox/browsers/mobile/android/)；
3. 打开```Firefox``` > 右下角```...``` > 附加组件 > 附加组件管理器 > ```Tampermonkey```右边的```+```；
4. 安装```KeepChatGPT```，通过 [安装渠道](#安装渠道)；
5. 访问 [ChatGPT](https://chatgpt.com/)；

## 使用方法 iOS系统

1. 浏览器用```Safari```；
2. 安装```Stay```，通过 [App Store](https://apps.apple.com/app/id1591620171)；
3. 使用说明参考 [官网](https://github.com/shenruisi/Stay)；
4. 安装```KeepChatGPT```，通过 [安装渠道](#安装渠道)；
5. 访问 [ChatGPT](https://chatgpt.com/)；

## 开发调试

1. 临时关闭 Tampermonkey 中已安装的正式版 `KeepChatGPT.user.js`，避免与开发加载器重复注入
2. 安装依赖：`npm install`
3. 启动开发模式：`npm run dev`
4. 在 Tampermonkey 中安装开发加载器：`KeepChatGPT.dev.user.js`
5. 开发加载器会从 `http://localhost:8888/KeepChatGPT.user.js` 拉取最新脚本
6. 修改 `KeepChatGPT.user.js` 后，刷新 ChatGPT 页面即可生效

说明：
- `KeepChatGPT.dev.user.js` 只用于本地开发调试，实际功能代码仍在 `KeepChatGPT.user.js`
- 本地开发服务仅监听 `127.0.0.1`，且只提供 `KeepChatGPT.user.js`

可直接把下面的提示词发给支持浏览器操作的 AI：

```text
我已开启 `npm run dev`，请用浏览器打开 `https://chatgpt.com/`，确认 `KeepChatGPT.dev.user.js` 是否已正常工作，并且页面是否成功加载 `http://localhost:8888/KeepChatGPT.user.js`，然后验证以下内容：
1. `#kcg` 是否出现
2. 设置菜单是否能打开
3. 我指定的功能是否生效
4. 控制台是否有明显报错

如果发现问题，请先定位到具体 DOM、样式或脚本逻辑，再给出最小修改方案。
```

## 其他说明

### 关于 保持活跃 功能

- 对比发现，省去10个多余的步骤，顺畅聊天：

| 实验环境 |               不使用KeepChatGPT插件              |     使用KeepChatGPT插件      |
| :------: | :----------------------------------------------: | :--------------------------: |
|   现象   |  频繁```NetworkError```告警，导致必须刷新网页。  |  不会网络报错，不需要刷新。  |
|  步骤1   |                     下发指令                     |          下发指令            |
|  步骤2   |                     等待结果                     |          等待结果            |
|  步骤3   |                   遇到网络报错                   |          得到结果            |
|  步骤4   |                 尝试点击重新下发                 |                              |
|  步骤5   |                 再次遇到网络报错                 |                              |
|  步骤6   |                  复制刚刚的指令                  |                              |
|  步骤7   |                     刷新页面                     |                              |
|  步骤8   |                  等待网页加载完                  |                              |
|  步骤9   |                打开刚刚的聊天会话                |                              |
|  步骤10  |                  粘贴刚刚的指令                  |                              |
|  步骤11  |                   再次下发指令                   |                              |
|  步骤12  |                   再次等待结果                   |                              |
|  步骤13  |                     得到结果                     |                              |

### 关于 大量用户网络错误

1. 原因：算力紧张、使用量大、Cloudflare风控与误杀。解决方案：使用本插件。

### 关于 依旧报错

1. 原因: 参考 [```关于 大量用户网络错误```](#关于-大量用户网络错误)。解决方案: 更换网络。
2. 原因: 参考 [```关于 调整间隔 功能```](#关于-调整间隔-功能)。解决方案: 适度调整keep的间隔。

### 关于 其他错误

1. 出现下述错误信息可参考官方的解决方案: [官方-报错](https://openai.com/policies/usage-policies)
2. 401 - Invalid Authentication
3. 401 - Incorrect API key provided
4. 401 - You must be a member of an organization to use the API
5. 429 - Rate limit reached for requests
6. 429 - You exceeded your current quota, please check your plan and billing details
7. 429 - The engine is currently overloaded, please try again later
8. 500 - The server had an error while processing your request

### 关于 错误信息429 - Too many requests in 1 hour. Try again later

1. 原因: 新注册无免费额度，查询 [官网-额度](https://platform.openai.com/account/usage)。解决方案: 换邮箱和手机号注册。
2. 原因: 老用户用完了额度，查询 [官网-额度](https://platform.openai.com/account/usage)。解决方案: 充值openai。
3. 原因: Cloudflare的bug。解决方案: 隐私模式、清理cookie。
4. 原因: 共享网络导致触发风控。解决方案: 更换网络。

### 关于 取消审计 功能

1. openai会 [审计](https://platform.openai.com/docs/guides/moderation/overview) 用户的所有对话，如果频繁违反 [政策](https://openai.com/policies/usage-policies)，可能导致封号。
2. 勾选了```取消审计```以后，加上你巧妙的提示词（必须），可以最大程度避免封号。

### 关于 调整间隔 功能

1. 指的是向openai保持在线的时间间隔，单位是```秒```。
2. 时间间隔越大，则请求越缓和，账号越稳定。
3. 时间间隔越小，则请求越紧凑，网络错误越少。
4. 建议间隔```50```秒以上。
5. 作者平时设置的是```900```秒。

### 关于 克隆对话 功能

1. 一键快速完成选中、复制、粘贴、编辑
2. 勾选了```克隆对话```以后，可以通过点击对话内容前的```头像```，快速编辑。
3. 对比发现，省去5个多余的步骤，顺畅聊天：

| 实验环境 |     不勾选克隆对话     | 勾选克隆对话 |
| :------: | :--------------------: | :----------: |
|  步骤1   |        下发指令        |   下发指令   |
|  步骤2   |        得到结果        |   得到结果   |
|  步骤3   |      对结果不满意      | 对结果不满意 |
|  步骤4   | 鼠标点击指令的开头不放 | 点击对话头像 |
|  步骤5   |      鼠标滚轮滚动      | 开始调整指令 |
|  步骤6   |  鼠标拖拉到指令的结尾  |              |
|  步骤7   |        复制指令        |              |
|  步骤8   |     鼠标点击对话框     |              |
|  步骤9   |        粘贴指令        |              |
|  步骤10  |      开始调整指令      |              |

### 关于 净化页面 功能

1. 净化多余元素。
2. 勾选了```净化页面```以后，页面焕然一新，享受金标，提升体验感。

### 关于 展示大屏 功能

1. 拓宽聊天视野```PRO```。
2. 勾选了```展示大屏```以后，大幅减少鼠标滚动，对话一目了然，提升体验感。

### 关于 言无不尽 功能

1. 让ChatGPT尽情地表达，没有遗漏。
2. 勾选了```言无不尽```以后，提问后可以无人值守，享受ChatGPT尽情地表达，直到回复完所有内容。
3. 经测试，这个功能可以让ChatGPT发言长达5分30秒，大大地突破了原本的60秒限制。
4. 对比发现，省去21个多余的步骤，顺畅聊天：

| 实验环境 |   不勾选言无不尽    |  勾选言无不尽  |
| :------: | :-----------------: | :------------: |
|  步骤1   |       下发指令      |    下发指令    |
|  步骤2   |       等待结果      |    等待结果    |
|  步骤3   |       盯着结果      |  得到完整结果  |
|  步骤4   |   得到不完整结果    |                |
|  步骤5   | 点击```Continue```  |                |
| 步骤6~21 | 步骤2~5重复做4次... |                |
|  步骤22  |       等待结果      |                |
|  步骤23  |       盯着结果      |                |
|  步骤24  |    得到完整结果     |                |

### 关于 拦截跟踪 功能

1. 抓包发现ChatGPT页面都会上传大量的用户环境信息，进行大量的行为分析、用户跟踪。
2. 勾选了```拦截跟踪```以后，可以拦截大部分的跟踪行为，保护了用户的信息安全，提高页面加载速度。
3. 经测试，刷新ChatGPT页面会产生```50~100```个网络请求，其中至少```15~65```个网络请求是在跟踪、分析用户！
4. 作者认为这些网络请求完全没必要！所以，强烈建议注重隐私安全的用户勾选这个功能。

### 关于 日新月异 功能

1. 增强侧边栏。
2. 勾选了```日新月异```以后，侧边栏会出现```标题```、```最新消息```、```日期```、```星期```、```对话模型```等，帮助用户快速定位历史的优质的聊天项目。

| LOGO         | 对话模型                   |
| ---          | ---                        |
| 黑色气泡     | GPT3.5 模型                |
| 紫色气泡     | GPT4 模型                  |
| 紫色气泡 + m | GPT4 Mobile 模型           |
| 紫色气泡 + w | GPT4 Web Browsing 模型     |
| 紫色气泡 + p | GPT4 Plugins 模型          |
| 紫色气泡 + d | GPT4 Code Interpreter 模型 |

| 不勾选日新月异 | 勾选日新月异 |
| --- | --- |
|  |  |

### 关于 明察秋毫 功能

1. 模仿聊天软件的样式，提升用户与机器人的对话气泡的辨别度。
2. 勾选了```明察秋毫```以后，聊天页面焕然一新，提升体验感。

### 关于 数据安全 功能

1. 数据安全解决方案，帮助用户拦截敏感信息，避免发生数据安全问题。
2. 勾选了```数据安全```以后，会在用户编写对话时自动化清理敏感信息（脱敏），并且进行风险提示。
3. 请根据正则表达式语法编写数据安全规则，不同规则之间用换行间隔。
4. 默认的数据安全规则还比较初级，需要大家自定义自己的规则。
5. 大家还可以把自己的姓名、ID、电脑用户名、公司名称、企业域名等作为规则。

演示一下效果，如果向对话框编写、粘贴这段提示词：
```
C:\Users\my-secret-username\Desktop> python login.py
  File "C:\Users\my-secret-username\Desktop\login.py", line 4
    if Mobile!"18888888888" and Email=="admin@163.com" : print("https://securiy-domain.com/login")
             ^
SyntaxError: invalid syntax
```

则会立刻被纠正为：
```
C:\Users\\Desktop> python login.py
  File "C:\Users\\Desktop\login.py", line 4
    if Mobile!"" and Email=="" : print("/login")
             ^
SyntaxError: invalid syntax
```



## 赞赏

- 本项目由兴趣驱使，提升自己的体验，并共享世界。
- 如果你喜欢作者的项目，可以给作者一个免费的Star或者Follow。
- 如果你希望作者的小猫吃到更好的罐头，欢迎赞赏与激励。
- 可在备注里写上你的ID，谢谢。

| From | Thanks |
| --- | --- |
| 我的猫 |  |
| buymeacoffee | [](https://www.buymeacoffee.com/xcanwin)点击图片 |
| 爱发电(支持微信、支付宝) | [](https://afdian.net/a/xcanwin/plan)点击图片或者扫描 |
| 微信 |  |

---

## File: docs/README_EN.md

| [中文](https://github.com/xcanwin/KeepChatGPT/blob/main/README.md) | [English](https://github.com/xcanwin/KeepChatGPT/blob/main/docs/README_EN.md) | [Español](https://github.com/xcanwin/KeepChatGPT/blob/main/docs/README_ES.md) |
| --- | --- | --- |

## Project Introduction

- Friends who like this plug -in, you can give my GitHub project [KeepChatGPT](https://github.com/xcanwin/KeepChatGPT) ⭐️Star support it.
- This is a plug -in to improve the data security capacity and efficiency of ```ChatGPT```.It can make your chat extremely smooth, eliminating dozens of unnecessary steps, and once and for all, get rid of various ```errors``` and ```warnings```.And freely share a large number of innovative functions, such as: automatic refresh, active, data security, cancellation of audit, cloning dialogue, endless words, purifying pages, displaying large screens, interception tracking, changing with each other, and inspecting.Let our AI experience extremely safe, smooth, silky, efficient, and concise.
- There is no research and development expenses, and use love to generate electricity purely. Welcome to follow.Thank you for [appreciating cat food](#Sponsor).


## Showcase

| No. | Screenshot |
| --- | --- |
| 1 | Light Theme + Page Purification |
| 2 | Light Theme + Meticulousness + Large Screen Display + Constant Updates |
| 3 | Dark Theme + Meticulousness + Large Screen Display + Constant Updates |
| 4 | Mobile + Page Purification |

## Feature introduction

1.  Support [Modify-interval](#About-Modify-interval)
2.  Support [Data-security](#About-Data-security)
3.  Support [Cancel-audit](#About-Cancel-audit)
4.  Support [Conversation-cloning](#About-Conversation-cloning)
5.  Support [Complete-response](#About-Complete-response)
6.  Support [Purified-page](#About-Purified-page)
7.  Support [Wide-display-mode](#About-Wide-display-mode)
8.  Support [Intercept-tracking](#About-Intercept-tracking)
9.  Support [More-chat-info](#About-More-chat-info)
10. Support [Keen observation](#About-Keen-observation)
11. Support multiple languages
12. Support [PC](#Usage-PC)
13. Support ([Harmony OS](#Usage-Harmony-OS)、[iOS](#Usage-iOS)、[Android](#Usage-Harmony-OS))
14. Support [Keep alive](#About-Keep-alive)
15. Resolve chat interruptions
16. Resolve frequent refreshes
17. Resolve messages that could not be sent
18. Resolve the following errors

| Serial number | Resolve the following errors |
| --- | --- |
| 1 | NetworkError when attempting to fetch resource. |
| 2 | Something went wrong. If this issue persists please contact us through our help center at help.openai.com. |
| 3 | Conversation not found |
| 4 | This content may violate our content policy. If you believe this to be in error, please submit your feedback — your input will aid our research in this area. |

## User feedback

- There are good and bad
- For the good, thank you for the thumbs up
- The bad ones will be updated continuously






## Install channels

Official Channels✅:

| Serial number | UserScript | Remarks |
| --- | --- | --- |
| 1 | [Github](https://raw.githubusercontent.com/xcanwin/KeepChatGPT/main/KeepChatGPT.user.js) | ✅Recommended |

~~Fake channels~~❌:

| Serial number | UserScript | Remarks |
| --- | --- | --- |
| 1 | [~~Google Play Store~~](https://chrome.google.com/webstore/category/extensions) | ⚠️️Beware, this is not uploaded by the author. Someone copied KeepChatGPT and asked the user to pay for it |
| 2 | [~~Microsoft Store~~](https://microsoftedge.microsoft.com/) | ⚠️️Beware, this is not uploaded by the author. Someone copied KeepChatGPT and asked the user to pay for it |

## Usage PC

1. Installation ```Tampermonkey```, through the [official website](https://www.tampermonkey.net/)；
2. Installation ```KeepChatGPT```, through the [Install channels](#Install-channels)；
3. Open [ChatGPT](https://chatgpt.com/) (compatible with the legacy domain `chat.openai.com`)；

## Usage Harmony OS

1. Browsers ```Firefox```；
2. Installation ```Firefox```, through the [HUAWEI App Store](https://appgallery.huawei.com/app/C31765) and [official website](https://www.mozilla.org/firefox/browsers/mobile/android/)；
3. Open ```Firefox``` > bottom right corner ```...``` > Add-ons > Add-ons Manager > The one on the right ```+```；
4. Installation ```KeepChatGPT```, through the [Install channels](#Install-channels)；
5. Open [ChatGPT](https://chatgpt.com/)；

## Usage iOS

1. Browsers ```Safari```；
2. Installation ```Stay```, through the [App Store](https://apps.apple.com/app/id1591620171)；
3. For instructions on use, please refer to [official website](https://github.com/shenruisi/Stay)；
4. Installation ```KeepChatGPT```, through the [Install channels](#Install-channels)；
5. Open [ChatGPT](https://chatgpt.com/)；

## Other Notes

### About Keep alive

- The comparison found that 10 redundant steps were omitted and the chat was smooth

| Experimental environment | Unuse the KeepChatGPT plugin | Use the KeepChatGPT plugin |
| :------: | :----------------------------------------------: | :--------------------------: |
| phenomenon | Frequent ```NetworkError``` alarm, which causes the web page to be refreshed. | No network error is reported and no refresh is required. |
| Step 1 | Command is issued | Command is issued |
| Step 2 | Wait for the results | Wait for the results |
| Step 3 | A network error message is generated | Get results |
| Step 4 | Try clicking Re-deliver |  |
| Step 5 | The network error is reported again |  |
| Step 6 | Copy the instruction you just made |  |
| Step 7 | Refresh the page |  |
| Step 8 | Wait for the page to load |  |
| Step 9 | Open the chat session you just |  |
| Step 10 | Paste the instruction you just directed |  |
| Step 11 | The command is issued again |  |
| Step 12 | Wait for the results again |  |
| Step 13 | Get results |  |

### About a large number of user network errors

1. Reason: Shortage of computing power, large usage, Cloudflare risk control and manslaughter. Solution: Use this plugin.

### About still reporting mistakes

1. Reason: Reference [```About a large number of user network errors```](#About-a-large-number-of-user-network-errors). Solution: Replace the network.
2. Reason: Reference [```About Modify interval```](#About-Modify-interval). Solution: Adjust the interval of Keep moderately.

### About Other Errors

1. If the following error message appears, please refer to the official solution: [Official - Error Message](https://openai.com/policies/usage-policies)
2. 401 - Invalid Authentication
3. 401 - Incorrect API key provided
4. 401 - You must be a member of an organization to use the API
5. 429 - Rate limit reached for requests
6. 429 - You exceeded your current quota, please check your plan and billing details
7. 429 - The engine is currently overloaded, please try again later
8. 500 - The server had an error while processing your request

### About ERROR429 - Too many requests in 1 hour. Try again later

1. Reason: There is no free quota for new registration, please check the [official website - quota](https://platform.openai.com/account/usage). Solution: Change your email address and mobile phone number to register.
2. Reason: Old users have used up the quota, check the [official website - quota](https://platform.openai.com/account/usage). Solution: Deposit OpenAI.
3. Reason: Cloudflare's bug. Solution: Privacy mode, clear cookies.
4. Reason: Risk control is triggered due to network sharing. Solution: Replace the network.

### About Cancel audit

1. OpenAI [audits](https://platform.openai.com/docs/guides/moderation/overview) all of a user's conversations, which [policy](https://openai.com/policies/usage-policies) can lead to account bans if the policy is frequently violated.
2. Ticked ```Cancel audit``` In the future, add your clever prompt words (must) to avoid banning to the greatest extent.

### About Modify interval

1. Refers to the time interval between staying online to OpenAI, in `seconds`.
2. The larger the time interval, the more relaxed the request and the more stable the account.
3. The smaller the time interval, the tighter the request and the fewer network errors.
4. Recommended intervals ```50``` More than a second.
5. The author usually sets it up ```900``` Second.

### About Conversation cloning

1. Quickly select, copy, paste, and edit with one click
2. Ticked ```Conversation cloning``` Later, you can click on the content of the conversation before ```Avatar``` for quick editing.
3. The comparison found that 5 redundant steps were omitted and the chat was smooth:

| Experimental environment | Uncheck Conversation cloning | Tick Conversation cloning |
| :------: | :--------------------: | :----------: |
| Step 1 | Command is issued | Command is issued |
| Step 2 | Get results | Get results |
| Step 3 | Not satisfied with the results | Not satisfied with the results |
| Step 4 | Mouse click on the beginning of the command | Click the conversation profile picture |
| Step 5 | Mouse wheel scrolling | Start adjusting the instruction |
| Step 6 | Drag the mouse to the end of the command |  |
| Step 7 | Copy the instruction |  |
| Step 8 | Mouse click dialog |  |
| Step 9 | Paste the instruction |  |
| Step 10 | Start adjusting the instruction |  |

### About Purified page

1. Purify excess elements.
2. Ticked ```Purified page``` In the future, the page will have a new look, enjoy the gold label, and enhance the sense of experience.

### About Wide display mode

1. Broaden your chatting horizons ```PRO```
2. Ticked ```Wide display mode``` In the future, mouse scrolling will be greatly reduced, and the dialogue will be clear at a glance, improving the sense of experience.

### About Complete response

1. Let ChatGPT express itself to its heart's content, without missing anything.
2. Ticked ```Complete response``` In the future, you can be unattended after asking a question and enjoy ChatGPT to express yourself to your heart's content until everything is replied.
3. After testing, this feature can make ChatGPT speak for up to 5 minutes and 30 seconds, greatly breaking the original 60-second limit.
4. The comparison found that 21 redundant steps were omitted and the chat was smooth:

| Experimental environment | Uncheck Complete response | Tick Complete response |
| :------: | :-----------------: | :------------: |
| Step 1 | Command is issued | Command is issued |
| Step 2 | Wait for the results | Wait for the results |
| Step 3 | Keep an eye on the results | Get full results |
| Step 4 | Incomplete results are obtained |  |
| Step 5 | Click ```Continue``` |  |
| Step 6~21 | Step 2 ~ 5 Repeat 4 times ... |  |
| Step 22 | Wait for the results |  |
| Step 23 | Keep an eye on the results |  |
| Step 24 | Get full results |  |

### About Intercept tracking

1. Capturing packets shows that the ChatGPT page uploads a lot of user environment information, performing extensive behavior analysis and user tracking.
2. Enabling ```Tracking Interception``` can block most tracking behaviors, protecting user information and improving page load speed.
3. Tests show that refreshing the ChatGPT page generates ```50~100``` network requests, with at least ```15~65``` requests tracking and analyzing users!
4. The author believes these requests are unnecessary! Hence, users concerned about privacy should enable this feature.

### About More chat info

1. Enhances the sidebar.
2. Enabling ```Constant Updates``` will display ```titles```, ```latest news```, ```dates```, ```days of the week```, ```conversation models```, etc., in the sidebar, helping users quickly locate high-quality historical chat items.

| LOGO | Conversation Model |
| --- | --- |
| Black Bubble | GPT3.5 Model |
| Purple Bubble | GPT4 Model |
| Purple Bubble + m | GPT4 Mobile Model |
| Purple Bubble + w | GPT4 Web Browsing Model |
| Purple Bubble + p | GPT4 Plugins Model |
| Purple Bubble + d | GPT4 Code Interpreter Model |

| Without Constant Updates | With Constant Updates |
| --- | --- |
|  |  |

### About Keen observation

1. Mimics chat software styles to enhance the distinction between user and robot chat bubbles.
2. Enabling ```Keen observation``` refreshes the chat page's appearance, improving the user experience.

### About Data security

1. Provides data security solutions, helping users intercept sensitive information to prevent data security issues.
2. Enabling ```Data security``` automatically cleans sensitive information (desensitizes) and provides risk warnings while users compose dialogues.
3. Please write data security rules according to regular expression syntax, with different rules separated by new lines.
4. The default data security rules are basic and need to be customized.
5. You can add your name, ID, computer username, company name, enterprise domain, etc., to the rules.

Here's a demonstration: If you type or paste this prompt into the chat box:
```
C:\Users\my-secret-username\Desktop> python login.py
  File "C:\Users\my-secret-username\Desktop\login.py", line 4
    if Mobile!"18888888888" and Email=="admin@163.com" : print("https://securiy-domain.com/login")
             ^
SyntaxError: invalid syntax
```

will be immediately corrected to:
```
C:\Users\\Desktop> python login.py
  File "C:\Users\\Desktop\login.py", line 4
    if Mobile!"" and Email=="" : print("/login")
             ^
SyntaxError: invalid syntax
```



## Sponsor

- This project is driven by interest, elevating one's own experience, and sharing the world.
- If you like the author's project, you can give the author a free Star or Follow.
- If you want the author's kitten to eat better canned food, welcome to appreciate and motivate.
- You can write your ID in the remarks, thank you.

| From | Thanks |
| --- | --- |
| My cat |  |
| buymeacoffee | [](https://www.buymeacoffee.com/xcanwin)Click on the image |
| Love power generation(Support WeChat, Alipay) | [](https://afdian.net/a/xcanwin/plan)Click on the image or scan |
| WeChat |  |

---

## File: docs/README_ES.md

## Descripción del proyecto

- Si te gusta este script, por favor apoya mi proyecto en GitHub KeepChatGPT dándole una ⭐️.
- Este es un código abierto, gratuito y eficiente script de extensión de usuario para ChatGPT, que puede hacer que tus chats sean extremadamente fluidos y eliminar de una vez por todas varios errores y advertencias. Ahorrarás 10 pasos adicionales completos y te liberarás de la constante necesidad de actualizar la página. Los autores continúan añadiendo más mejoras, incluyendo la cancelación de auditorías, la clonación de conversaciones, la purificación de la página, la visualización en pantallas grandes, la visualización a pantalla completa, entre otras.
- No hay financiación para la investigación y el desarrollo, esto se realiza puramente con el poder del amor. ¡Eres bienvenido/a a hacer una donación! Gracias por tu apoyo Patrocinadores.

## Introducción a las características

1.  Se ha resuelto el error:`NetworkError when attempting to fetch resource.`
2.  Se ha resuelto el error:`Something went wrong. If this issue persists please contact us through our help center at help.OpenAI.com.`
3.  Se ha resuelto el error:`Conversation not found`
4.  Se ha resuelto el error:`This content may violate our content policy. If you believe this to be in error, please submit your feedback — your input will aid our research in this area.`
5.  Se resolvieron las interrupciones frecuentes durante la comunicación
6.  Se resolvió la actualización frecuente de páginas web
7.  Soporte multilingüe
8.  Resuelto el error oficial de que el nombre de usuario en el diálogo se copiaría por error
9.  Soporte gratuito [Cancelar la auditoría de supervisión de backend](#about-cancel-audit-function)
10. Compatible con dispositivos móviles ([HarmonyOS](#usage-harmonyos-system), [Androide](#usage-android-system), [Ios](#usage-apple-system))
11. Soporte libre [Ajustar intervalo de tiempo](#about-adjust-interval-feature)
12. Apoyo [Fácil clonación y edición no destructiva de diálogos especificados](#about-clone-dialogue-function)
13. Apoyo [Purificar la página](#about-purify-page-features)
14. Soporte de visualización de pantalla grande
15. Soporte de visualización de pantalla completa

Lo anterior es una breve descripción de las funciones, la descripción detallada de las funciones al final de este artículo.

Y al final de este artículo [Otras instrucciones](#other-instructions), el autor analiza brevemente [Por qué se producen errores de red a gran escala](#about-why-large-scale-network-errors-occur), soluciones comunes de mensajes de error

| Num | Después de usar `KeepChatGPT`, la siguiente escena nunca volverá a aparecer |
| --- | --- |
| 1 |  |
| 2 |  |
| 3 |  |
| 4 |  |

## Comentarios de los usuarios

*   Hay buenos y malos
*   Gracias por sus elogios
*   Seguirá actualizándose para los malos

   

## Comparación

| Entorno experimental |               Sin usar `KeepChatGPT`                |                   Usando `KeepChatGPT`                    |
| :----------------------: | :----------------------------------------------------------: | :----------------------------------------------------------: |
|        Fenómeno | Cuadros de advertencia rojos frecuentes NetworkError en el chat, que aparecen cada diez minutos más o menos, que requieren que la página web se actualice | Nunca más habrá errores de red y no es necesario actualizar la página web |
|          Paso 1 |                       Emitir el mensaje |                       Emitir el mensaje |
|          Paso 2 |                     Espera el resultado |                     Espera el resultado |
|          Paso 3 |                  Encontrar un error de red |                      Obtener el resultado |
|          Paso 4 |                  Intentar hacer clic para reenviar |                                                              |
|          Paso 5 |              Volver a encontrar el error de red |                                                              |
|          Paso 6 |                   Copiar el mensaje anterior |                                                              |
|          Paso 7 |                     Actualizar la página web |                                                              |
|          Paso 8 |            Espere a que la página web termine de cargarse |                                                              |
|          Paso 9 |                Abrir la sesión de chat anterior |                                                              |
|         Paso 10 |                  Pegue el mensaje anterior |                                                              |
|         Paso 11 |                    Vuelva a emitir el mensaje |                                                              |
|         Paso 12 |                  Espera el resultado de nuevo |                                                              |
|         Paso 13 |                      Obtener el resultado |                                                              |

*   En comparación, se puede ver que ahorra más de 10 pasos innecesarios y permite un chat fluido.

## Mostrar

*   Disfrute de la "Etiqueta de oro exclusiva" gratuita, que representa un cambio dramático en su experiencia de IA:
*   
*   Para los amigos a los que les gustan los tonos oscuros, puede pasar el cursor sobre la "Etiqueta dorada exclusiva" con el mouse y seleccionar "Tema" para cambiarla a "Etiqueta azul exclusiva":
*   
*   Moblie:
*   

## Explicación

*   Omita la verificación de araña de Cloudflare durante la apertura de la página usando Headless.
*   Omita la verificación aleatoria de la máquina de Cloudflare sin hacer clic.
*   Mantener el principio de minimizar el tráfico.
*   Mover el ratón sobre `Exclusive Gold Label` y seleccione `Show Debugging` para ver el proceso de omisión.

## Uso

Los navegadores recomendados son `Chrome`, `Firefox`, `Edge` y otros navegadores compatibles con estos tres.

1. Instala la extensión del navegador `Tampermonkey` desde el sitio web de [Tampermonkey](https://www.tampermonkey.net/).
2. Instala `KeepChatGPT` seleccionando uno de los repositorios de [Instalación de repositorios](#install).
3. Abre [ChatGPT](https://chatgpt.com/) (compatible con el dominio anterior `chat.openai.com`) y disfruta de una experiencia sin problemas.
4. Además, hay una forma más inteligente de hacerlo, que es preguntarle a ChatGPT: "¿Cómo instalar la extensión Tampermonkey? ¿Cómo instalar el script de usuario desde el canal oficial?"

<a id="usage-harmonyos-system"></a>
## Uso del sistema HarmonyOS

1.  El navegador preferido es `Firefox`;
2.  Instalar `Firefox` Aplicación del navegador, puede descargarla desde [Galería de aplicaciones de Huawei](https://appgallery.huawei.com/app/C31765)、[Sitio web oficial de Firefox](https://www.mozilla.org/firefox/browsers/mobile/android/)；
3.  Abrir `Firefox` Aplicación del navegador > esquina inferior derecha `...` > Complementos > Administrador de complementos > `+` a la derecha de `Tampermonkey`;
4.  Instalar `KeepChatGPT` userscript, puede elegir un canal para instalar [Canal de instalación](#installation-channel);

<a id="usage-android-system"></a>
## Uso del sistema Android

1.  El navegador preferido es `Firefox`;
2.  Instalar `Firefox` Aplicación del navegador, puede descargarla desde [Tienda de juegos](https://play.google.com/store/apps/details?id=org.mozilla.firefox)、[Sitio web oficial de Firefox](https://www.mozilla.org/firefox/browsers/mobile/android/)；
3.  Abrir `Firefox` Aplicación del navegador > esquina inferior derecha `...` > Complementos > Administrador de complementos > `+` a la derecha de `Tampermonkey`;
4.  Instalar `KeepChatGPT` userscript, puede elegir un canal para instalar [Canal de instalación](#installation-channel);

<a id="usage-apple-system"></a>
## Uso del sistema Apple

1.  El navegador preferido es `Safari`, otros navegadores están limitados por la política de Apple y rara vez admiten complementos JS;
2.  Instale el `Stay` Aplicación de extensión del navegador, que se puede instalar desde [Tienda de aplicaciones](https://apps.apple.com/app/id1591620171)；
3.  Consulte \[Sitio web oficial de la estancia] (<https://github.com/shenruisi/Stay>) para instrucciones;
4.  Instalar `KeepChatGPT` plugin, puede elegir un canal para instalar [Canal de instalación](#installation-channel)；

<a id="install"></a>
<a id="installation-channel"></a>
## Canal de instalación

|  | Origen UserScript |
| --- | --- |
| 1 | [Github](https://raw.githubusercontent.com/xcanwin/KeepChatGPT/main/KeepChatGPT.user.js) |

*   El autor solo proporciona el método de instalación del script de usuario, y la fuente oficial es solo la anterior.
*   El autor piensa que los scripts de usuario son mejores que las extensiones. Todos pueden auditar la seguridad en cualquier momento, y todos pueden averiguar si hay datos cargados en secreto.
*   ⚠️[Google App Store](https://chrome.google.com/webstore/category/extensions) y ⚠️[Tienda de aplicaciones de Microsoft](https://microsoftedge.microsoft.com/) no son proporcionados por el autor. Y plagió este proyecto, pero también cobró a los usuarios.

<a id="other-instructions"></a>
## Otras instrucciones

<a id="about-why-large-scale-network-errors-occur"></a>
### Acerca de por qué se producen errores de red a gran escala

1.  Ha habido una escasez de potencia informática en el mundo debido a la crisis global de chips, y OpenAI también existe.
2.  OpenAI se convirtió en un éxito instantáneo, y el número de usuarios, el tiempo en línea del usuario y la frecuencia del usuario aumentaron considerablemente al mismo tiempo, lo que agravó la escasez de recursos.
3.  Se ha derivado una gran cantidad de productos de IA y bots de IA, todos llamando a la API de ChatGPT y a la versión web de ChatGPT de forma privada, incluso con mucha más frecuencia que la suma de todos los usuarios reales.
4.  OpenAI se conecta a `Cloudflare`Permite `strong protection rules`e intercepta productos de IA y bots de IA que están conectados de forma privada a OpenAI.
5.  Al igual que el CAPTCHA gráfico, la intención era interceptar bots, pero una vez que existía el riesgo de que el CAPTCHA fuera reconocido, los webmasters desarrollaron el CAPTCHA gráfico para que fuera más complejo, afectando a usuarios reales, pero de hecho interceptando bots de manera efectiva.
6.  `Cloudflare` es un servicio público, sirve a todos los sitios web, y sus reglas de protección y estrategias de control de riesgos son comunes. Muchos sitios web que no desean ser accedidos por rastreadores, bots, piratas informáticos o tráfico pesado se conectarán a Cloudflare, por lo que Cloudflare tiene una gran cantidad de estrategias de control de riesgos.
7.  Un gran número de usuarios extranjeros son redes domésticas, y Cloudflare juzga que sus redes no están en riesgo, por lo que apenas informan de errores.
8.  Un gran número de usuarios domésticos en China utilizan diversas técnicas mágicas de desplazamiento (denominadas `666`). Sin embargo, muchos `666` Las IP han sido o están actualmente incluidas en Cloudflare `strong protection rules` Lista de vigilancia prioritaria. Esta situación puede no ser necesariamente causada por los propios usuarios. Podría ser el resultado de acciones previas que afectan a usuarios posteriores, o la activación frecuente de controles de riesgo por parte de muchas IP en el mismo segmento C. También es posible que los propios usuarios no sepan que están utilizando un `666` IP, que activa los controles de riesgo. En consecuencia, Cloudflare identifica un riesgo potencial en su red, lo que lleva a mensajes de error y la necesidad de verificar la autenticidad de los usuarios reales.
9.  Esto es solo la punta del iceberg, y podría haber varias otras razones subyacentes.

### Razones y soluciones para los errores de red incluso cuando se usa este complemento

1.  Motivo: Consulte [*Con respecto a la función Ajustar intervalo*](#about-adjust-interval-feature). Solución: Ajuste el intervalo de mantenimiento moderadamente.
2.  Motivo: Consulte [*Por qué se producen errores de red masiva*](#about-why-large-scale-network-errors-occur). Solución: cambie la IP, el centro de datos, el proveedor de servicios de Internet y el canal del `666`; La configuración más óptima para una sola `666`.

### Razones y soluciones para el mensaje de error 429 - Demasiadas solicitudes en 1 hora. Inténtalo de nuevo más tarde

1.  En primer lugar, hay muchos tipos de errores 429. Confirme si no se menciona en [*Con respecto a otros errores*](#about-other-errors-causes-and-solutions). Si no es así, considere las siguientes posibilidades:
2.  Motivo: Para los usuarios recién registrados o los usuarios que se registraron con el mismo teléfono, OpenAI no proporciona créditos gratuitos. Compruebe la [Página de uso del sitio web oficial de OpenAI](https://platform.OpenAI.com/account/usage) para más detalles. Solución: Regístrese con un correo electrónico y un número de teléfono diferentes.
3.  Motivo: El uso del crédito se ha agotado. Compruebe la [Página de uso del sitio web oficial de OpenAI](https://platform.OpenAI.com/account/usage) para más detalles. Solución: Recarga para obtener más créditos.
4.  Motivo: Error en Cloudflare. Solución: Utilice el modo de privacidad de un navegador o una instancia de ChatGPT. Si el modo de privacidad funciona normalmente, borre todas las cookies y el almacenamiento local relacionados con el dominio y los subdominios de OpenAI.com en el modo de navegación normal.
5.  Motivo: es posible que no sepas que estás usando un `666` IP. Hay un grupo de "vecinos en línea con la misma salida de IP" que constantemente hacen solicitudes frecuentes para diversos fines. Aunque su tráfico es alto, logran mantenerse por debajo del umbral para evitar desencadenar el error 429. Sin embargo, cuando comienzas a usar este complemento, los arrastra hacia abajo y se quedan perplejos por encontrarse repentinamente con el error 429. Solución: cambie la IP, el centro de datos, el proveedor de servicios de Internet y el canal del `666`; La configuración más óptima para una sola `666`.

<a id="about-cancel-audit-function"></a>
### Acerca de la función Cancelar auditoría

1.  De forma predeterminada, todas sus conversaciones son auditadas automáticamente por el oficial de OpenAI. [moderación](https://platform.OpenAI.com/docs/guides/moderation/overview) sistema. Si el sistema de moderación de OpenAI detecta violaciones excesivas o violaciones de la [Políticas de uso de OpenAI](https://OpenAI.com/policies/usage-policies) En sus conversaciones, su cuenta corre el riesgo de ser restringida o incluso prohibida.
2.  Por **habilitante** la función "Cancelar auditoría" de este complemento junto con su inteligente elección de palabras, puede minimizar el impacto en gran medida.

<a id="about-adjust-interval-feature"></a>
### Con respecto a la función Ajustar intervalo

1.  El valor hace referencia al intervalo de tiempo para *guardar* (manteniendo viva la conexión), medido en *sobras*.
2.  Un intervalo de tiempo más grande significa una velocidad de mantenimiento más lenta, menos impacto en el sitio web y una cuenta más segura.
3.  Un intervalo de tiempo más pequeño significa una velocidad de mantenimiento más rápida y menos ocurrencia de errores de red.
4.  Se recomienda tener un intervalo de *50* segundos o más.
5.  El autor generalmente lo establece en *900* sobras.

<a id="about-clone-dialogue-function"></a>
### Acerca de la función Clonar conversación

1.  ChatGPT pertenece al proyecto AI prompt.
2.  Una de las cosas que más hace la ingeniería rápida es ajustar repetidamente las palabras rápidas hasta que se descubre que el robot realmente entiende y el resultado cumple con sus requisitos.
3.  Una de las cosas más comunes que hace es ajustar repetidamente la redacción del mensaje antes de estar satisfecho con los resultados copiando y pegando lo que ya ha publicado.
4.  Después de comprobar `Clone dialog`, puede hacer clic en el avatar delante del cuadro de diálogo que desea volver a optimizar, y el cuadro de diálogo aparecerá inmediatamente.

<a id="about-purify-page-features"></a>
### Acerca de las características de la página Purify

1.  Para los usuarios regulares (no Plus), a menudo se ve que la página de inicio de ChatGPT `https://chatgpt.com/` está lleno de indicaciones inútiles.
2.  Después de comprobar `Purify page`, puede hacer que la página de inicio se vea nueva, disfrutar del estándar de oro similar a los usuarios PLUS y mejorar la experiencia.

<a id="about-other-errors-causes-and-solutions"></a>
### Causas y soluciones para otros errores

Si se produce el siguiente mensaje de error, consulte la solución oficial: [Código de error del documento oficial de OpenAI](https://OpenAI.com/policies/usage-policies)
401 - Autenticación no válida
401 - Clave API incorrecta proporcionada
401 - Debe ser miembro de una organización para usar la API
429 - Límite de tarifa alcanzado para solicitudes
429 - Excedió su cuota actual, verifique su plan y los detalles de facturación
429 - El motor está sobrecargado, inténtelo de nuevo más tarde
500 - El servidor tuvo un error al procesar su solicitud

### Acerca de los usuarios de PLUS no reportarán errores

*   Los usuarios PLUS están condenados al igual que los usuarios comunes.

## El patrocinador

* ¡Si lo encuentras útil, increíble, suave o agradable!
* Si deseas que el pequeño gato del autor pueda tener una mejor comida para gatos y comida enlatada.
* Si este proyecto te ha sido útil.
* Si este proyecto ha mejorado la eficiencia de tu trabajo.
* Si deseas que este proyecto se mantenga continuamente para evitar una nueva ronda de mensajes de error de OpenAI.
* Si deseas que este proyecto continúe actualizándose con más funciones.
* Crear no es fácil, mantener un proyecto requiere tiempo, energía y habilidades técnicas. Se agradece el aprecio y el apoyo.
* Puedes dejar tu DNI en la nota, gracias.

| Desde | Gracias |
| --- | --- |
| Mi gato |  |
| Buymeacoffee | [](https://www.buymeacoffee.com/xcanwin) |
| Afdian(Soporte wechat y alipay) | [](https://afdian.net/a/xcanwin/plan) |
| Wechat(A veces no funciona) |  |