Skip to content

Commit

Permalink
Updated play button selector ↞ [auto-sync from `adamlui/chatgpt-apps/…
Browse files Browse the repository at this point in the history
…chatgpt-auto-talk`]
  • Loading branch information
adamlui authored and kudo-sync-bot committed Aug 29, 2024
1 parent 4e0c796 commit 857dc75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chatgpt/chatgpt-auto-talk/chatgpt-auto-talk.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@
// @description:zu Dlala izimpendulo ze-ChatGPT ngokuzenzakalela
// @author Adam Lui
// @namespace https://github.com/adamlui
// @version 2024.8.29
// @version 2024.8.29.1
// @license MIT
// @icon https://cdn.jsdelivr.net/gh/adamlui/chatgpt-auto-talk@9f1ed3c/assets/images/icons/openai/black/icon48.png
// @icon64 https://cdn.jsdelivr.net/gh/adamlui/chatgpt-auto-talk@9f1ed3c/assets/images/icons/openai/black/icon64.png
Expand Down Expand Up @@ -375,7 +375,7 @@
if (config.autoTalkDisabled) return
for (const mutation of mutationsList) { if (mutation.type === 'childList')
mutation.addedNodes.forEach(node => { if (node?.tagName == 'DIV') {
const playIcon = node.querySelector('path[d*="M11 4.91a.5.5"]')
const playIcon = node.querySelector('path[d^="M8 3C8.55228"]')
if (playIcon) setTimeout(() => {
if (!chatgpt.getStopGeneratingButton())
playIcon.closest('button').click()
Expand Down

0 comments on commit 857dc75

Please sign in to comment.