Skip to content

Commit 8a020a7

Browse files
committed
Updated play button selector (fixes adamlui/chatgpt-auto-talk#63)
1 parent 0aabc1e commit 8a020a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chatgpt-auto-talk/greasemonkey/chatgpt-auto-talk.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@
225225
// @description:zu Dlala izimpendulo ze-ChatGPT ngokuzenzakalela
226226
// @author Adam Lui
227227
// @namespace https://github.com/adamlui
228-
// @version 2025.6.10
228+
// @version 2025.6.19
229229
// @license MIT
230230
// @icon https://assets.chatgptautotalk.com/images/icons/openai/black/icon48.png?v=9f1ed3c
231231
// @icon64 https://assets.chatgptautotalk.com/images/icons/openai/black/icon64.png?v=9f1ed3c
@@ -870,7 +870,7 @@
870870
if (config.autoTalkDisabled || document.querySelector('[data-testid*=login]')) return
871871
for (const mutation of mutations) { if (mutation.type == 'childList')
872872
mutation.addedNodes.forEach(node => { if (node?.tagName == 'DIV') {
873-
const playIcon = node.querySelector('path[d^="M11 4.9099C11"]')
873+
const playIcon = node.querySelector('button[data-testid^=voice-play-]')
874874
if (playIcon && location.search != '?temporary-chat=true') // not in Temp Chat
875875
setTimeout(() => { if (!chatgpt.getStopGeneratingButton()) playIcon.closest('button').click() }, 50)
876876
}})}})

0 commit comments

Comments
 (0)