Created
December 5, 2022 13:06
-
-
Save jordiup/ef398cfca5cc7e91e506ad50d7dff4e6 to your computer and use it in GitHub Desktop.
ChatGPT Export To HTML - run this in your browser console :)
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
javascript:(function() { const a = document.createElement('a'); a.href = URL.createObjectURL(new Blob([document.querySelector('[class^="ThreadLayout__NodeWrapper"]').innerHTML.replace(/<img[^>]*>/g, '').replace(/<button[^>]*>.*?<\/button>/g, '').replace(/<svg[^>]*>.*?<\/svg>/g, '')], {type: 'text/html'})); a.download = 'chatGPT.html'; document.body.appendChild(a); a.click(); document.body.removeChild(a); URL.revokeObjectURL(a.href); })() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment