Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ChatGPT 3.5 - Noi Ask Prompt not being entered #155

Open
g-kon opened this issue May 14, 2024 · 3 comments
Open

ChatGPT 3.5 - Noi Ask Prompt not being entered #155

g-kon opened this issue May 14, 2024 · 3 comments

Comments

@g-kon
Copy link

g-kon commented May 14, 2024

I already followed your tutorial on how to fix this and updated noi-ask extension to v0.1.8 and checked that the link on the sidebar, in manifest.json and main.js is the correct link: https://chatgpt.com and it is, but the prompts aren't being entered on ChatGPT 3.5 when using the extension.

@daviddwlee84
Copy link

Same issue here. Running version Noi-win32-x64-0.4.0-setup.exe
image

@daviddwlee84
Copy link

image
It's weird since it only contains a single textarea on the page. Should be able to auto-focus?!

static autoFocus() {
const inputElement = document.querySelector('textarea');
if (inputElement) {
inputElement.focus();
}
}

class OpenAIAsk extends NoiAsk {
static name = 'ChatGPT';
static url = 'https://chatgpt.com';
static submit() {
const btn = document.querySelector('button[data-testid="send-button"]');
if (btn) this.autoClick(btn);
}
}

@daviddwlee84
Copy link

#150 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants