Skip to content

Commit 75ada96

Browse files
committed
Update the Perplexity chatbot's response generation check to use the stop-generating-response-button data attribute for improved reliability
1 parent 8d48adc commit 75ada96

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/browser/src/content-scripts/send-prompt-content-script/chatbots

‎packages/browser/src/content-scripts/send-prompt-content-script/chatbots/perplexity.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ export const perplexity: Chatbot = {
130130
chatbot_name: 'Perplexity',
131131
is_generating: () =>
132132
!!document.querySelector(
133-
'path[d="M17 4h-10a3 3 0 0 0 -3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3 -3v-10a3 3 0 0 0 -3 -3z"]'
133+
'button[data-testid="stop-generating-response-button"]'
134134
),
135135
footer_selector:
136136
'.max-w-threadContentWidth > .relative > div > div > div > div > div + div > div + div',

0 commit comments

Comments
 (0)