lencx / ChatGPT

🔮 ChatGPT Desktop Application (Mac, Windows and Linux)
https://nofwl.com
51.74k stars 5.81k forks source link

with Chat GPT plus - can't use the link sent via e-mail to login when at capacity [Bug] #391

Open zgrummedical opened 1 year ago

zgrummedical commented 1 year ago

Version

0.10.3

Bug description

with the new ChatGPT plus - no place to enter the link to login from the link sent via e-mail to circumvent the over capacity issue

OS

windows 10

Environment

No response

Romboter commented 1 year ago

See feature request #331 for the temporary work around

NAMapollon commented 1 year ago

I had same issue before...but I changed theme(Light to Dark)and found it worked! I don't know why...but by this way, I can login with my account

johnrphilip commented 1 year ago

Same problem

lencx commented 1 year ago

You can try adding the following script to fix it (Menu -> Preferences -> Inject Script -> main.js):

// *** ChatGPT User Script ***
// @github: https://github.com/lencx/ChatGPT
// @path: /Users/lencx/.chatgpt/main.js

console.log('🤩 Hello ChatGPT!!!');

document.addEventListener("click", (e) => {
  const origin = e.target.closest("a");
  if (!origin || !origin.target) return;
  origin.target = '_self';
});

After saving the file, restart the application.

NAMapollon commented 1 year ago

I really appreciate to make this app and use it everyday. Btw, would you mind fixing DALLE2 login...? I'd like to login DALLE2 in the app. Sometimes it works and sometimes it doesn't work.

nickmccally commented 1 year ago

You can try adding the following script to fix it (Menu -> Preferences -> Inject Script -> main.js):

// *** ChatGPT User Script ***
// @github: https://github.com/lencx/ChatGPT
// @path: /Users/lencx/.chatgpt/main.js

console.log('🤩 Hello ChatGPT!!!');

document.addEventListener("click", (e) => {
  const origin = e.target.closest("a");
  if (!origin || !origin.target) return;
  origin.target = '_self';
});

After saving the file, restart the application.

Can you explain how this works a bit?