Created
December 9, 2022 12:54
-
-
Save shinshin86/c48155f0adfdfd8e935b2615bc8e66b2 to your computer and use it in GitHub Desktop.
Script for displaying the conversing with ChatGPT in the console log in QA format.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// USAGE: After conversing with ChatGPT, run this code on the Chrome developer console. | |
const textList = [] | |
document.querySelectorAll('.text-base').forEach((t, i) => { | |
textList.push(`${i % 2 === 0 ? "Q:" : "A:"} ${t.textContent}`) | |
}) | |
console.log(textList.join('\n')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment