Skip to content

Commit

Permalink
Made scroll-to-bottom on Auto-Continue onlyl if Auto-Scroll enabled ↞…
Browse files Browse the repository at this point in the history
  • Loading branch information
kudo-sync-bot committed Jan 31, 2025
1 parent 0fc285e commit 02a0026
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion chromium/extension/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
if (btnType == 'Continue') {
continueBtnClicked = true
notify(chrome.i18n.getMessage('notif_chatAutoContinued'), 'bottom-right')
try { chatgpt.scrollToBottom() } catch(err) {}
if (config.autoScroll) try { chatgpt.scrollToBottom() } catch(err) {}
}})
setTimeout(checkBtnsToClick, continueBtnClicked ? 5000 : 500)
}
Expand Down
2 changes: 1 addition & 1 deletion firefox/extension/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
if (btnType == 'Continue') {
continueBtnClicked = true
notify(chrome.i18n.getMessage('notif_chatAutoContinued'), 'bottom-right')
try { chatgpt.scrollToBottom() } catch(err) {}
if (config.autoScroll) try { chatgpt.scrollToBottom() } catch(err) {}
}})
setTimeout(checkBtnsToClick, continueBtnClicked ? 5000 : 500)
}
Expand Down
4 changes: 2 additions & 2 deletions greasemonkey/chatgpt-auto-continue.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@
// @description:zu ⚡ Terus menghasilkan imibuzo eminingi ye-ChatGPT ngokwesizulu
// @author Adam Lui
// @namespace https://github.com/adamlui
// @version 2025.1.31.1
// @version 2025.1.31.2
// @license MIT
// @icon https://assets.chatgptautocontinue.com/images/icons/continue-symbol/circled/with-robot/icon48.png?v=8b39fb4
// @icon64 https://assets.chatgptautocontinue.com/images/icons/continue-symbol/circled/with-robot/icon64.png?v=8b39fb4
Expand Down Expand Up @@ -480,7 +480,7 @@
if (btnType == 'Continue') {
continueBtnClicked = true
notify(app.msgs.notif_chatAutoContinued, 'bottom-right')
try { chatgpt.scrollToBottom() } catch(err) {}
if (config.autoScroll) try { chatgpt.scrollToBottom() } catch(err) {}
}})
setTimeout(checkBtnsToClick, continueBtnClicked ? 5000 : 500)
}
Expand Down

0 comments on commit 02a0026

Please sign in to comment.