From 1251b91b169943d89ea459b3637b6a36740330af Mon Sep 17 00:00:00 2001 From: Daniel Page Date: Fri, 14 Jul 2023 19:34:12 +1200 Subject: [PATCH] Code updated to work with the latest ChatGPT website --- content.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content.js b/content.js index 8ecdd88..5b1752a 100644 --- a/content.js +++ b/content.js @@ -7,7 +7,7 @@ var prev_prompts = [] function updateChatGPT() { prev_prompts = []; - text_blocks = document.getElementsByClassName("min-h-[20px] flex flex-col items-start gap-4 whitespace-pre-wrap break-words"); + text_blocks = document.getElementsByClassName("empty:hidden"); for (let i = 0; i < text_blocks.length; i++) { if (text_blocks[i]["firstElementChild"] == null) {