This bookmarklet does nothing until someone presses a key on keyboard or moves the mouse, then it rotates the page 180°. After you run the script there is a 5 second pause before the trap is activated. Great for startling people.


javascript:(function(){setTimeout(function(){document.onmousemove = document.onkeypress = function(){['', '-ms-', '-webkit-', '-o-', '-moz-'].map(function(prefix){document.body.style[prefix + 'transition'] = prefix + 'transform 3s';document.body.style[prefix + 'transform'] = 'rotate(180deg)';});}}, 5000);}())


How To Use: