Skip to content

Instantly share code, notes, and snippets.

View by-sknight's full-sized avatar
🐈

by_sknight by-sknight

🐈
View GitHub Profile
@0wwafa
0wwafa / PRINT_CLAUDE.md
Last active June 8, 2025 08:39
Print / Export Claude Chat

Go to https://claude.ai/chat/new (or any other chat you had in the past).

Then run this code:

function printClaude() {   // (C) 2024 by ZeroWw. If you use this code, just give me some credit.

    const centralPart = document.getElementsByClassName('mb-1 mt-1')[1].parentElement.parentElement.parentElement.parentElement;

    if (centralPart) {
        // Create a new window for printing