Created
May 29, 2025 15:43
-
-
Save OneNiNE87/047c1e8fc7b1125bfa59c1b18cb29cfb to your computer and use it in GitHub Desktop.
Bookmarklet
This file contains hidden or 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()%7B const articles = document.querySelectorAll('article%5Bdata-testid%5E="conversation-turn"%5D'); if (!articles.length) %7B alert('No chat content found!'); return; %7D let chatContent = Array.from(articles).map(article => article.innerText).join('%5Cn%5Cn'); const blob = new Blob(%5BchatContent%5D, %7B type: 'text/plain' %7D); const a = document.createElement('a'); a.href = URL.createObjectURL(blob); a.download = 'chat_conversation.txt'; document.body.appendChild(a); a.click(); document.body.removeChild(a); %7D)(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment