Skip to content

Instantly share code, notes, and snippets.

@scottmtraver
Created June 30, 2017 14:53
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scottmtraver/e22bd9d05895877aebab8cc76770e703 to your computer and use it in GitHub Desktop.
Save scottmtraver/e22bd9d05895877aebab8cc76770e703 to your computer and use it in GitHub Desktop.
Flip Pages
javascript:(function()%7Bvar css %3D 'body %7B transform%3A rotate(180deg)%3B %7D'%2Chead %3D document.head %7C%7C document.getElementsByTagName('head')%5B0%5D%2Cstyle %3D document.createElement('style')%3Bstyle.type %3D 'text%2Fcss'%3Bif (style.styleSheet)%7Bstyle.styleSheet.cssText %3D css%3B%7D else %7Bstyle.appendChild(document.createTextNode(css))%3B%7Dhead.appendChild(style)%7D)()
@scottmtraver
Copy link
Author

Create a bookmarklet with this instead of a url

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