Skip to content

Instantly share code, notes, and snippets.

@Preston-Landers
Last active May 25, 2023 18:39
Show Gist options
  • Select an option

  • Save Preston-Landers/f6c79ab8ad1172291458468892411e7c to your computer and use it in GitHub Desktop.

Select an option

Save Preston-Landers/f6c79ab8ad1172291458468892411e7c to your computer and use it in GitHub Desktop.

Revisions

  1. Preston-Landers revised this gist May 25, 2023. 1 changed file with 8 additions and 2 deletions.
    10 changes: 8 additions & 2 deletions ChatGPT print hack.md
    Original file line number Diff line number Diff line change
    @@ -6,8 +6,14 @@ Here's a simple little hack to enable printing the entire conversation.

    Open the Javascript Console (Ctrl-Shift-J) or Developer Tools (Ctrl-Shift-I). Make sure the focus is on the console prompt `>`.

    Type this:
    Paste and run this:

    ```javascript
    document.querySelectorAll('.overflow-hidden').forEach(element => {
    element.classList.remove('overflow-hidden');
    })
    ```

    ```
    You should then be able to print (or convert to PDF) entire conversations more easily. Note that you may have to make sure the entire conversation is loaded into your browser because long ones are split up into segments.

    When finished printing, simply reload the page (F5) to go back to the way it was.
  2. Preston-Landers created this gist May 25, 2023.
    13 changes: 13 additions & 0 deletions ChatGPT print hack.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    ## ChatGPT print hack

    If you want to print a conversation (or PDF) from ChatGPT, as of this writing the CSS makes it cut off everything after the first page.

    Here's a simple little hack to enable printing the entire conversation.

    Open the Javascript Console (Ctrl-Shift-J) or Developer Tools (Ctrl-Shift-I). Make sure the focus is on the console prompt `>`.

    Type this:

    ```javascript

    ```