From de9ac9190d1026beddbb6d5998cec97f1499bed8 Mon Sep 17 00:00:00 2001 From: kudo-sync-bot Date: Fri, 31 Jan 2025 01:53:40 -0800 Subject: [PATCH] =?UTF-8?q?Deleted=20test=20logs=20=E2=86=9E=20[auto-sync?= =?UTF-8?q?=20from=20https://github.com/adamlui/ai-web-extensions/tree/mai?= =?UTF-8?q?n/chatgpt-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 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chromium/extension/content.js b/chromium/extension/content.js index fe368d9..effb48f 100644 --- a/chromium/extension/content.js +++ b/chromium/extension/content.js @@ -75,7 +75,7 @@ const btns = {} ; btnTypesToCheck.forEach(type => btns[type] = chatgpt[`get${type}Btn`]()) Object.entries(btns).forEach(([btnType, btn]) => { if (!btn || btnType == 'Scroll' && ( !config.autoScroll || !chatgpt.getStopBtn() )) return - btn.click() ; console.log(btnType + ' clicked') + btn.click() if (btnType == 'Continue') { continueBtnClicked = true notify(chrome.i18n.getMessage('notif_chatAutoContinued'), 'bottom-right') diff --git a/firefox/extension/content.js b/firefox/extension/content.js index fe368d9..effb48f 100644 --- a/firefox/extension/content.js +++ b/firefox/extension/content.js @@ -75,7 +75,7 @@ const btns = {} ; btnTypesToCheck.forEach(type => btns[type] = chatgpt[`get${type}Btn`]()) Object.entries(btns).forEach(([btnType, btn]) => { if (!btn || btnType == 'Scroll' && ( !config.autoScroll || !chatgpt.getStopBtn() )) return - btn.click() ; console.log(btnType + ' clicked') + btn.click() if (btnType == 'Continue') { continueBtnClicked = true notify(chrome.i18n.getMessage('notif_chatAutoContinued'), 'bottom-right')