Skip to content

Instantly share code, notes, and snippets.

@iansltx
Last active August 29, 2015 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iansltx/d62d530496180de6150b to your computer and use it in GitHub Desktop.
Save iansltx/d62d530496180de6150b to your computer and use it in GitHub Desktop.
Messenger Mini Bookmarklet

To install this, create a bookmark and copy and paste the above verbatim into there. To use it, first go to the conversation you want to single out in messenger.com, then navigate to the bookmarklet you created. The lefthand conversation list pane will vanish, and you'll be left with the IMs for your conversation in a window that has no minimum width (normally the conversation pane has a minimum width).

As fair warning, if Facebook updates the Messenger app then this hack may (probably will) stop working. This code is provided as-is and with no warranty whatsoever.

javascript:document.getElementsByClassName('_4sp8 _li')[0].style.minWidth = 0; var sidebar = document.getElementsByClassName('_1enh _4bl7')[0]; sidebar.parentElement.removeChild(sidebar);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment