1
0
mirror of https://github.com/lencx/ChatGPT.git synced 2024-10-01 01:06:13 -04:00

updating user input selector to new div class as of 2023.10.20

This commit is contained in:
Dustin Darcy 2023-10-20 22:40:58 -04:00
parent f4dca6dc79
commit 1f2fc88c78

2
scripts/export.js vendored
View File

@ -157,7 +157,7 @@ async function exportInit() {
} }
const SELECTOR = 'main div.group'; const SELECTOR = 'main div.group';
const USER_INPUT_SELECTOR = 'div.empty\\:hidden'; const USER_INPUT_SELECTOR = 'div.relative.flex.w-\\[calc\\(100\\%-50px\\)\\].flex-col.gizmo\\:w-full.lg\\:w-\\[calc\\(100\\%-115px\\)\\].gizmo\\:text-gizmo-gray-600.gizmo\\:dark\\:text-gray-300';
function processNode(node, replaceInUserInput = false) { function processNode(node, replaceInUserInput = false) {
let j = node.cloneNode(true); let j = node.cloneNode(true);