Skip to content

Commit 4ca8340

Browse files
adamluikudo-sync-bot
authored andcommitted
Updated chatgpt.getChatInput() to work w/ new UI (#304) ↞ [auto-sync from KudoAI/chatgpt.js]
1 parent 6d09bb4 commit 4ca8340

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

starters/chrome/extension/lib/chatgpt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,7 @@ const chatgpt = { // eslint-disable-line no-redeclare
882882
}));
883883
},
884884

885-
getChatInput() { return chatgpt.getChatBox().value; },
885+
getChatInput() { return chatgpt.getChatBox().firstChild.innerText; },
886886
getContinueButton() { return document.querySelector('button:has([d^="M4.47189"])'); },
887887
getFooterDiv() { return chatgpt.footer.get(); },
888888
getHeaderDiv() { return chatgpt.header.get(); },

starters/chrome/extension/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"manifest_version": 3,
33
"name": "ChatGPT Extension",
44
"description": "A Chrome template to start using chatgpt.js like a boss!",
5-
"version": "2024.9.25",
5+
"version": "2024.10.3",
66
"author": "chatgpt.js",
77
"icons": {
88
"16": "icons/icon16.png",

0 commit comments

Comments
 (0)