Created
March 3, 2026 16:18
-
-
Save woodwardtw/3a8e212cf31c51c5fe64e88b5fef25c9 to your computer and use it in GitHub Desktop.
Gemini conversation 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:(()=>{ const turns = [...document.querySelectorAll('user-query, model-response')]; if (!turns.length) { alert('No conversation found — check selectors in DevTools.'); return; } const md = turns.map(el => { const role = el.tagName === 'USER-QUERY' ? %27## Student' : '## Gemini'; return %60${role}\n\n${el.innerText.trim()}%60; }).join('\n\n---\n\n'); navigator.clipboard.writeText(md) .then(() => alert(%60Copied ${turns.length} turns to clipboard.%60)) .catch(() => alert('Clipboard access denied — try clicking the bookmarklet again.'));})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment