Open jixing475 opened 1 year ago
大佬地址404啦
支持这个提议
测试一下这个脚本,说明IT问题不论是YouTube还是google的都没用,搜不到这个结果,还是要去github上找。
请大佬整合的桌面版中,现在频繁断,好难受
To keep ChatGPT site from refreshing by automatic refreshing pages and solve/bypass Cloudflare captcha in background,
Preferences - Inject Script
(or keyboard shortcut Ctrl-J) to open user script editor.// *** ChatGPT User Script ***
// @github: https://github.com/lencx/ChatGPT
// @path: C:\Users\user\.chatgpt\main.js
if (window === window.parent) {
// running in top window.
import('https://cdn.jsdelivr.net/gh/chatgptjs/chatgpt.js@6aaf7aaa199582b9cde757a06a99c68abca9f928/dist/chatgpt-1.4.1.min.js')
.then(module => {
chatgpt.autoRefresh.activate(35);
})
console.log('🤩 Hello ChatGPT mod!!!');
} else {
// Running in iframe, maybe #refresh-frame injected by auto-refresher.
}
- Choose
Preferences - Inject Script
(or keyboard shortcut Ctrl-J) to open user script editor.- Paste the following content.
- Restart ChatGPT client.
// *** ChatGPT User Script *** // @github: https://github.com/lencx/ChatGPT // @path: C:\Users\user\.chatgpt\main.js if (window === window.parent) { // running in top window. import('https://cdn.jsdelivr.net/gh/chatgptjs/chatgpt.js@6aaf7aaa199582b9cde757a06a99c68abca9f928/dist/chatgpt-1.4.1.min.js') .then(module => { chatgpt.autoRefresh.activate(35); }) console.log('🤩 Hello ChatGPT mod!!!'); } else { // Running in iframe, maybe #refresh-frame injected by auto-refresher. }
What's wrong?
- Choose
Preferences - Inject Script
(or keyboard shortcut Ctrl-J) to open user script editor.- Paste the following content.
- Restart ChatGPT client.
// *** ChatGPT User Script *** // @github: https://github.com/lencx/ChatGPT // @path: C:\Users\user\.chatgpt\main.js if (window === window.parent) { // running in top window. import('https://cdn.jsdelivr.net/gh/chatgptjs/chatgpt.js@6aaf7aaa199582b9cde757a06a99c68abca9f928/dist/chatgpt-1.4.1.min.js') .then(module => { chatgpt.autoRefresh.activate(35); }) console.log('🤩 Hello ChatGPT mod!!!'); } else { // Running in iframe, maybe #refresh-frame injected by auto-refresher. }
What's wrong?
This script is not meant to be run directly through double clicking... but to be loaded by ChatGPT client and got injected automatically.
The corresponding menu item:
What's wrong?
This script is not meant to be run directly through double clicking... but to be loaded by ChatGPT client and got injected automatically.
The corresponding menu item:
Yes, but the window jump directly after ctrl+j
.
- 选择
Preferences - Inject Script
(或键盘快捷键Ctrl-J)打开用户脚本编辑器。- 粘贴以下内容。
- 重新启动 ChatGPT 客户端。
// *** ChatGPT User Script *** // @github: https://github.com/lencx/ChatGPT // @path: C:\Users\user\.chatgpt\main.js if (window === window.parent) { // running in top window. import('https://cdn.jsdelivr.net/gh/chatgptjs/chatgpt.js@6aaf7aaa199582b9cde757a06a99c68abca9f928/dist/chatgpt-1.4.1.min.js') .then(module => { chatgpt.autoRefresh.activate(35); }) console.log('🤩 Hello ChatGPT mod!!!'); } else { // Running in iframe, maybe #refresh-frame injected by auto-refresher. }
Added this code, but the gpt network still breaks
Yes, but the window jump directly after
ctrl+j
.
Set VSCode or any other code editor as default file handler for .js
, or edit the file directly at the path shown in your screenshot.
Added this code, but the gpt network still breaks
Changing IP may help, swap to another VPN node or whatever. ChatGPT is using Cloudflare with a policy which is quite strict on client IP. Captcha clearance can be really short if IP is flagged as high risk. especially with multiple accounts sign in from same location. So this script cannot guarantee 100% even for me 😂
Set a shorter refresh interval won't help.
anyone found it works or not?
anyone found it works or not?
it doesn't work.
为什么我的IP老是显示登录不了
有人发现它有效吗?
它不起作用。
是的,我也发现,并没有起作用。
重议
Feature description
最近 ChatGPT使用过程中频繁刷新, 十分影响体验
有款油泼猴(Tampermonkey)插件,解决各类ChatGPT使用过程中的问题,亲测有效,但是不知道怎么整合到桌面版中.
这款插件解决问题如下:
Motivation
解决ChatGPT使用过程中频繁刷新的问题
Alternatives
No response
Additional context
No response