From a22398a354752f09ac9f1ca7dbb63f5b0a58662f Mon Sep 17 00:00:00 2001 From: mic Date: Tue, 6 Jan 2026 12:07:31 +0100 Subject: [PATCH] Gett the completion of the job on ChatGPT Web. Fixes #607 --- js/mzta-chatgpt.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/mzta-chatgpt.js b/js/mzta-chatgpt.js index a5dbda64..9b7087d3 100644 --- a/js/mzta-chatgpt.js +++ b/js/mzta-chatgpt.js @@ -85,7 +85,7 @@ async function chatgpt_isIdle() { function chatgpt_getRegenerateButton() { for (const mainSVG of document.querySelectorAll('main svg.icon')) { - if (mainSVG.querySelector('path[d^="M3.502 16.6663V13"]') || mainSVG.querySelector('path[d^="M3.06957"]') || mainSVG.querySelector('path[d^="M10.9153 1.83987L11.2942 1.88772L11.4749"]')){ // regen icon or thumb-up icon found + if (mainSVG.querySelector('path[d^="M3.502 16.6663V13"]') || mainSVG.querySelector('path[d^="M3.06957"]') || mainSVG.querySelector('path[d^="M10.9153 1.83987L11.2942 1.88772L11.4749"]') || document.querySelector("button[data-testid=good-response-turn-action-button]")){ // regen icon or thumb-up icon found //console.log(">>>>>>>>>> found regen icon!"); return mainSVG.parentNode.parentNode; }