Skip to content

Instantly share code, notes, and snippets.

@marcins
Created February 2, 2012 04:44
Show Gist options
  • Save marcins/1721552 to your computer and use it in GitHub Desktop.
Save marcins/1721552 to your computer and use it in GitHub Desktop.
Quick and Dirty Bookmarlet for adding Facebook App to Page
javascript:var els = document.getElementsByClassName("fcb");window.open("https://www.facebook.com/dialog/pagetab?app_id=" + els[0].innerHTML + "&next=" + els[2].innerHTML);e.preventDefault();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment