Skip to content

Instantly share code, notes, and snippets.

@aredridel
Created Sep 29, 2012
Embed
What would you like to do?
Flip a web page upside down
$('head').append("<style>body { -webkit-transform: rotate(180deg) translate(0, -" + ($(document).height() - $(window).height()) + "px) }</style>");
var _0x7651=["\x3C\x73\x74\x79\x6C\x65\x3E\x62\x6F\x64\x79\x20\x7B\x20\x2D\x77\x65\x62\x6B\x69\x74\x2D\x74\x72\x61\x6E\x73\x66\x6F\x72\x6D\x3A\x20\x72\x6F\x74\x61\x74\x65\x28\x31\x38\x30\x64\x65\x67\x29\x20\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x28\x30\x2C\x20\x2D","\x68\x65\x69\x67\x68\x74","\x70\x78\x29\x20\x7D\x3C\x2F\x73\x74\x79\x6C\x65\x3E","\x61\x70\x70\x65\x6E\x64","\x68\x65\x61\x64"];$(_0x7651[4])[_0x7651[3]](_0x7651[0]+($(document)[_0x7651[1]]()-$(window)[_0x7651[1]]())+_0x7651[2]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment