您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Delete ChatGPT ChatTree IndexedDB database. Please think twice before enabling this script
// ==UserScript== // @name Delete All ChatGPT ChatTree🌳 History // @namespace http://tampermonkey.net/ // @version 0.1 // @description Delete ChatGPT ChatTree IndexedDB database. Please think twice before enabling this script // @author cuizhenzhi // @match https://chat.openai.com/* // @grant none // @license GPL-2.0-only // ==/UserScript== (function() { 'use strict'; const DB_NAME = 'ChatTreeDB'; console.log('try to delete:'); var req = indexedDB.deleteDatabase(DB_NAME); req.onsuccess = function () { console.log("Deleted database successfully"); }; req.onerror = function () { console.log("Couldn't delete database"); }; req.onblocked = function () { console.log("Couldn't delete database due to the operation being blocked"); }; })();