Just paste this before closing body <script> // Uncomment the next line if you want the prank to happen only when the url hash is #april // if (document.location.hash.indexOf('april') > -1) document.body.style.transform = document.body.style.webkitTransform = document.body.style.MozTransform = document.body.style.OTransform = document.body.style.msTransform = 'rotate(' + 45 * Math.ceil(Math.random() * 7) + 'deg)'; </script>
-
Notifications
You must be signed in to change notification settings - Fork 4
frodeaa/fool.js
About
April 1st JavaScript snippet.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published