Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
XiaoYingYo committed Oct 11, 2024
1 parent 0f114f4 commit 108ceb7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions chatgpt/chatgpt-enhance/chatgpt-enhance.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
// @namespace Violentmonkey Scripts
// @match *://chat.openai.com/*
// @match *://chatgpt.com/*
// @version XiaoYing_2024.09.12.1
// @version XiaoYing_2024.10.12.1
// @grant GM_info
// @grant GM_getValue
// @grant GM_setValue
Expand Down Expand Up @@ -205,7 +205,10 @@ function purify() {
let presentation = await global_module.waitForElement('div[role="presentation"]', null, null, 100, -1);
presentation = presentation.eq(presentation.length - 1);
let presentationTip = await global_module.waitForElement('div:contains("ChatGPT "):not([class])', null, null, 100, -1, presentation);
presentationTip.parent().hide();
presentationTip
.eq(presentationTip.length - 1)
.parent()
.hide();
resolve();
});
})()
Expand Down

0 comments on commit 108ceb7

Please sign in to comment.