Guest User

Rainymood.com's Javascript Unpacked

a guest
Mar 22nd, 2012
630
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. jQuery.noConflict();
  2. jQuery(document).ready(function () {
  3.   jQuery("#jquery_jplayer_1").jPlayer({
  4.     ready: function () {
  5.       jQuery(this).jPlayer("setMedia", {
  6.         m4a: "http://173.193.205.68/audio/RainyMood.m4a",
  7.         oga: "http://173.193.205.68/audio/RainyMood.ogg"
  8.       }).jPlayer("play");
  9.       var a = document.ontouchstart === undefined ? 'click':'touchstart';var b=function(){jQuery("#jquery_jplayer_1").jPlayer("play");document.documentElement.removeEventListener(a,b,true)};document.documentElement.addEventListener(a,b,true)},ended:function(){jQuery(this).jPlayer("play")},playing:function(){document.getElementById("spinner").style.visibility="hidden";document.getElementById("volumeDiv").style.display="block"},swfPath:"/js",supplied:"m4a, oga",preload:"none",volume:1.0})});
  10.  
  11. jQuery.noConflict();
  12. jQuery(document).ready(function () {
  13.   jQuery("#jquery_jplayer_1").jPlayer({
  14.     ready: function () {
  15.       jQuery(this).jPlayer("setMedia", {
  16.         m4a: "http://174.36.223.28/audio/RainyMood.m4a",
  17.         oga: "http://174.36.223.28/audio/RainyMood.ogg"
  18.       }).jPlayer("play");
  19.       var a = document.ontouchstart === undefined ? \'click\':\'touchstart\';var b=function(){jQuery("#jquery_jplayer_1").jPlayer("play");document.documentElement.removeEventListener(a,b,true)};document.documentElement.addEventListener(a,b,true)},ended:function(){jQuery(this).jPlayer("play")},playing:function(){document.getElementById("spinner").style.visibility="hidden";document.getElementById("volumeDiv").style.display="block"},swfPath:"/js",supplied:"m4a, oga",preload:"none",volume:1.0})});
  20.  
  21. // Further down past Scriptaculous
  22. if (top.location != self.location) {
  23.  top.location = self.location.href
  24. }
  25. var theDom="www.rainymood.com",
  26. theHref="http://"+theDom;top.location.hostname!=theDom&&(top.location.href=theHref);
  27.  
  28. You ignorant developers can blow me. i'm a php guy and i understand your wee bit of js. Nice to see you took advantage of open source software too, you bastards.
Advertisement
Add Comment
Please, Sign In to add comment