Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function flasher(){$("*").not(".commentarea, .content, body, .child, .sitetable, html, #header, .side, .panestack-title, .menuarea, .comment, .entry, .noncollapsed, .tagline, .usertext").each(function(){$(this).css("-webkit-animation-duration",(Math.random()*2+1)+"s").css("animation-duration",(Math.random()*2+1)+"s").addClass("animated infinite flash");});} flasher()
- $("<style type='text/css'>.animated {-webkit-animation-duration: 1s; animation-duration: 1s; -webkit-animation-fill-mode: both; animation-fill-mode: both;} .animated.infinite {-webkit-animation-iteration-count: infinite; animation-iteration-count: infinite;}@-webkit-keyframes flash {0%, 50%, 100% {opacity: 1;}25%, 75% {opacity: 0;}}@keyframes flash {0%, 50%, 100% {opacity: 1;}25%, 75% {opacity: 0;}}.flash {-webkit-animation-name: flash;animation-name: flash;}</style>").appendTo("head");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement