File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
starters/chrome/extension Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1472,7 +1472,7 @@ const chatgpt = { // eslint-disable-line no-redeclare
14721472 } ,
14731473
14741474 getFromDOM ( pos ) {
1475- const responseDivs = document . querySelectorAll ( 'div[data-testid*="conversation-turn"]:nth-child(odd) ' ) ,
1475+ const responseDivs = document . querySelectorAll ( 'div[data-message-author-role="assistant"] ' ) ,
14761476 strPos = pos . toString ( ) . toLowerCase ( ) ;
14771477 let response = '' ;
14781478 if ( ! responseDivs . length ) return console . error ( 'No conversation found!' ) ;
Original file line number Diff line number Diff line change 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.23 " ,
5+ "version" : " 2024.9.25 " ,
66 "author" : " chatgpt.js" ,
77 "icons" : {
88 "16" : " icons/icon16.png" ,
You can’t perform that action at this time.
0 commit comments