update Deletet button

This commit is contained in:
qcrao
2024-05-08 12:24:34 +08:00
parent 2856b3a3e4
commit 0267d05e83
2 changed files with 2 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ async function deleteConversation(checkbox) {
async function waitForDeleteButton(parent = document, timeout = 2000) { async function waitForDeleteButton(parent = document, timeout = 2000) {
const selector = 'div[role="menuitem"]'; // 设定好选择器 const selector = 'div[role="menuitem"]'; // 设定好选择器
const textContent = "Delete chat"; // 指定文本内容 const textContent = "Delete"; // 指定文本内容
const startedAt = Date.now(); const startedAt = Date.now();
while ((Date.now() - startedAt) < timeout) { while ((Date.now() - startedAt) < timeout) {

View File

@@ -1,7 +1,7 @@
{ {
"manifest_version": 3, "manifest_version": 3,
"name": "ChatGPT Bulk Delete", "name": "ChatGPT Bulk Delete",
"version": "4.4", "version": "4.5",
"description": "A Chrome extension to bulk delete ChatGPT conversations", "description": "A Chrome extension to bulk delete ChatGPT conversations",
"icons": { "icons": {
"48": "icon48.png" "48": "icon48.png"