Skip to content

Commit

Permalink
Code updated to work with the latest ChatGPT website
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-page committed Jul 14, 2023
1 parent fb53552 commit 1251b91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 1251b91

Please sign in to comment.