chatgpt web interface fix for the response completion ported from v3.5.3
This commit is contained in:
parent
cedbfaf26b
commit
e090d37df9
1 changed files with 2 additions and 2 deletions
|
|
@ -83,13 +83,13 @@ async function chatgpt_isIdle() {
|
||||||
|
|
||||||
function chatgpt_getRegenerateButton() {
|
function chatgpt_getRegenerateButton() {
|
||||||
for (const mainSVG of document.querySelectorAll('main svg.icon-md')) {
|
for (const mainSVG of document.querySelectorAll('main svg.icon-md')) {
|
||||||
if (mainSVG.querySelector('path[d^="M3.502 16.6663V13"]')){ // regen icon found
|
if (mainSVG.querySelector('path[d^="M3.502 16.6663V13"]') || mainSVG.querySelector('path[d^="M3.06957"]')){ // regen icon found
|
||||||
//console.log(">>>>>>>>>> found regen icon!");
|
//console.log(">>>>>>>>>> found regen icon!");
|
||||||
return mainSVG.parentNode.parentNode;
|
return mainSVG.parentNode.parentNode;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (const mainSVG of document.querySelectorAll('main svg.icon-md-heavy')) {
|
for (const mainSVG of document.querySelectorAll('main svg.icon-md-heavy')) {
|
||||||
if (mainSVG.querySelector('path[d^="M9.75122 4.09203C9.75122"]')){ // read aloud icon found
|
if (mainSVG.querySelector('path[d^="M9.75122 4.09203C9.75122"]') || mainSVG.querySelector('path[d^="M11 4.9099C11 4.47485"]')){ // read aloud icon found
|
||||||
//console.log(">>>>>>>>>> found read aloud icon!");
|
//console.log(">>>>>>>>>> found read aloud icon!");
|
||||||
return mainSVG.parentNode.parentNode;
|
return mainSVG.parentNode.parentNode;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue