Skip to content

Instantly share code, notes, and snippets.

@BenWard
Created February 18, 2012 08:24
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 BenWard/1858216 to your computer and use it in GitHub Desktop.
Save BenWard/1858216 to your computer and use it in GitHub Desktop.
Oneliner, bookmarklet script to bypass Facebook news apps (e.g. The Independent.)
window.location.search.split('&').filter(function(item,i){i=item.split('='); return(i[0]&&i[0]=='redirect_uri')}).forEach(function(u){window.location=unescape(u.split('=')[1])})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment