zsodur / chatgpt-api-by-browser-script

This project runs on users' browsers through the Tampermonkey script and converts the web version of ChatGPT operations into an API interface. This way, you can use GPT-4 in chatgpt web pages to play things like Auto-GPT. / 该项目通过Tampermonkey脚本在用户的浏览器上运行,并将ChatGPT操作的Web版本转换为API接口。这样,您就可以使用chatgpt网页中的GPT-4来玩Auto-GPT等内容。
195 stars 40 forks source link

Textarea is null #9

Open TomlDev opened 10 months ago

TomlDev commented 10 months ago

I always get the error Uncaught (in promise) TypeError: textarea is null image

I changed the selector to the correct one:

      const textarea = document.querySelector('#prompt-textarea');

But still no success.