Skip to content

Instantly share code, notes, and snippets.

@dougharris
Last active August 28, 2017 19:45
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 dougharris/e8153622972221caf64c71e36f79652c to your computer and use it in GitHub Desktop.
Save dougharris/e8153622972221caf64c71e36f79652c to your computer and use it in GitHub Desktop.
Bookmarklet to hide the login/join panel that appears on Facebook.

Scenario: You're trying to find out information about a restaurant or event on Facebook but you're not logged into Facebook. Maybe it's because you're not a member or maybe because you try not to use Facebook at work.

Either way, you're stuck with this big white box blocking what you'd like to read.

Here's a bookmarklet for getting rid of that box:

javascript:(function()%7Bdocument.getElementById('pagelet_growth_expanding_cta').style.display %3D 'none'%7D)()

If you don't know how to install a bookmarklet, search the web for "install bookmarklet" or try this page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment