Skip to content

Commit

Permalink
Updated chatgpt.getChatInput() to work w/ new UI (#304) ↞ [auto-syn…
Browse files Browse the repository at this point in the history
…c from `KudoAI/chatgpt.js`]
  • Loading branch information
adamlui authored and kudo-sync-bot committed Oct 3, 2024
1 parent 6d09bb4 commit 4ca8340
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion starters/chrome/extension/lib/chatgpt.js
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,7 @@ const chatgpt = { // eslint-disable-line no-redeclare
}));
},

getChatInput() { return chatgpt.getChatBox().value; },
getChatInput() { return chatgpt.getChatBox().firstChild.innerText; },
getContinueButton() { return document.querySelector('button:has([d^="M4.47189"])'); },
getFooterDiv() { return chatgpt.footer.get(); },
getHeaderDiv() { return chatgpt.header.get(); },
Expand Down
2 changes: 1 addition & 1 deletion starters/chrome/extension/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 3,
"name": "ChatGPT Extension",
"description": "A Chrome template to start using chatgpt.js like a boss!",
"version": "2024.9.25",
"version": "2024.10.3",
"author": "chatgpt.js",
"icons": {
"16": "icons/icon16.png",
Expand Down

0 comments on commit 4ca8340

Please sign in to comment.