Closed OzAmoyal closed 1 year ago
Thank you for this! the change in the url from https://chat.openai.com/chat to https://chat.openai.com/ happened just recently, and the issue with the prompt firing too early was already brought up in issue #3
I will update the README.md soon and hopefully the code as well
Hello and thank you for this wonderful extension. When I tried to use it, it did not work with the current script, so I made three minor changes that made it work. First, I changed the '// @match https://chat.openai.com/chat?PTquery=*' line because the URL opens without the "/chat/" at the end and the browser extension did not recognize it, as shown here:
Second, I added a 500ms wait to the setTimeout Method because without it, the chat would not respond to me and would continue loading, as shown in the image below: as I said the 500ms wait did fix it but I did not try other variants. The final change I made was to enable the submit button, which was disabled by default until you typed something into the textbox. As a result, the form with the disabled button would not be submitted. I've included the updated script below; please test it and let me know if it works for you.