On toggle show sidebar:


On toggle hide sidebar:



The sidebar will be automatically hidden. When you want to see the sidebar, take the mouse to the right edge of the screen and the sidebar will appear. Then as long as you keep the mouse in the sidebar area, the sidebar will stay.


It is free and open source. Licensed under MIT License.


You can download it from Github Gist.


Google Chrome, Mozilla Firefox, Opera, Microsoft Edge. Windows, macOS, Linux (All distros).


I created this script and you can ping me here.


I used JavaScript to build this project, and you can contribute to the script in Github Gist. And feature-requests and bug in answers under the question.

  • 1
    How about adding a keyboard shortcut for toggling? Some people prefer using keyboard as much as possible and the mouse as little as possible - by adding the shortcut you can accommodate the user case of those users. Something like a single shortcut that flips the sidebar state Jun 5 at 20:41
  • 1
    @OlegValter Great Idea. I will work on Ctrl + Q to flip the sidebar state. Thank you. :) Jun 5 at 21:56
  • 1
    Awesome - keeps the SO chats experience clean.
    – Spectric
    Jun 8 at 3:47

You must log in to answer this question.

Browse other questions tagged .