Make ChatGPT scrollable with keyboard

This app makes it scrollable by setting tabindex to outer div making it focusable

2024-07-14 يوللانغان نەشرى. ئەڭ يېڭى نەشرىنى كۆرۈش.

ئاپتورى
Alexander Yaremchuk
باھا نومۇرى
0 0 0
نەشرى
2024-07-14
قۇرۇلغان ۋاقتى
2024-03-27
يېڭىلانغان ۋاقتى
2024-07-14
Size
1.1 KB
ئىجازەتنامىسى
MIT
قوللايدىغىنى

Fix ChatGPT html so it is scrollable with the keyboard

To fix the issue the div with text needs to become focusable (it isn't as how they made it). To do it we add tabindex="0" to the div containing all the answers.

Additional things are added to the script to

  • make it run when the content is loaded
  • make it run again when user navigates the chats.