From 02a002608ccae596c92e08ab14349636dabbf60d Mon Sep 17 00:00:00 2001 From: kudo-sync-bot Date: Fri, 31 Jan 2025 02:49:01 -0800 Subject: [PATCH] =?UTF-8?q?Made=20scroll-to-bottom=20on=20Auto-Continue=20?= =?UTF-8?q?onlyl=20if=20Auto-Scroll=20enabled=20=E2=86=9E=20[auto-sync=20f?= =?UTF-8?q?rom=20https://github.com/adamlui/ai-web-extensions/tree/main/ch?= =?UTF-8?q?atgpt-auto-continue]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chromium/extension/content.js | 2 +- firefox/extension/content.js | 2 +- greasemonkey/chatgpt-auto-continue.user.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/chromium/extension/content.js b/chromium/extension/content.js index effb48f..42791e6 100644 --- a/chromium/extension/content.js +++ b/chromium/extension/content.js @@ -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) } diff --git a/firefox/extension/content.js b/firefox/extension/content.js index effb48f..42791e6 100644 --- a/firefox/extension/content.js +++ b/firefox/extension/content.js @@ -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) } diff --git a/greasemonkey/chatgpt-auto-continue.user.js b/greasemonkey/chatgpt-auto-continue.user.js index b8de469..13be274 100644 --- a/greasemonkey/chatgpt-auto-continue.user.js +++ b/greasemonkey/chatgpt-auto-continue.user.js @@ -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 @@ -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) }