-
-
Save Konard/3332268fabf715a2688a3d239d37f0b6 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