chatgpt_isIdle now works also with the thumb-up icon
This commit is contained in:
parent
1a11238c02
commit
4df034a670
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ async function chatgpt_isIdle() {
|
||||||
|
|
||||||
function chatgpt_getRegenerateButton() {
|
function chatgpt_getRegenerateButton() {
|
||||||
for (const mainSVG of document.querySelectorAll('main svg.icon')) {
|
for (const mainSVG of document.querySelectorAll('main svg.icon')) {
|
||||||
if (mainSVG.querySelector('path[d^="M3.502 16.6663V13"]') || mainSVG.querySelector('path[d^="M3.06957"]')){ // regen 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"]')){ // regen icon or thumb-up icon found
|
||||||
//console.log(">>>>>>>>>> found regen icon!");
|
//console.log(">>>>>>>>>> found regen icon!");
|
||||||
return mainSVG.parentNode.parentNode;
|
return mainSVG.parentNode.parentNode;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue