Last active
May 25, 2023 18:39
-
-
Save Preston-Landers/f6c79ab8ad1172291458468892411e7c to your computer and use it in GitHub Desktop.
Revisions
-
Preston-Landers revised this gist
May 25, 2023 . 1 changed file with 8 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal 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 `>`. 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. -
Preston-Landers created this gist
May 25, 2023 .There are no files selected for viewing
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 charactersOriginal 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 ```