is there a tool to quickly format this code into a readable piece of code?
!function(){({QueryString:function(){if(arg1=arguments[0],arg2=arguments[1],arguments.length>1&&""!=arg1&&""!=arg2&&void 0!=arg1&&void 0!=arg2){var b=arguments[0].match(new RegExp("(^|&)"+arg2+"=([^&]*)(&|$)","i"));return null!=b?b[2]:""}if(""!=arg1&&void 0!=arg1){var b=location.hash.match(new RegExp("[-sharp&]"+arg1+"=([^&]*)(&?)","i"));return b?b[1]:b}},iOS9:function(){var version,agent=navigator.userAgent.toLowerCase();if(agent.indexOf("like mac os x")>0){var regStr_saf=/os [\d._]*/gi;version=(agent.match(regStr_saf)+"").replace(/[^0-9|_.]/gi,"").replace(/_/gi,".")}var version_str=version+"";return"undefined"!=version_str&&version_str.length>0&&Number(version.substring(0,2))>=9},ipadJumpLink:function(){var _this=this,t1=(new Date).valueOf(),hasApp=!0;_this.iOS9()?location.href="https://mos.kugou.com/universal/":location.href="kugouurlhd://start.weixin",setTimeout(function(){hasApp||(location.href="https://mos.kugou.com/universal/")},4e3),setTimeout(function(){var t2=Date.now();(!t1||t2-t1<3200)&&(hasApp=!1)},3e3)},init:function(){var _this=this,ua=navigator.userAgent.toLowerCase(),android=(/ipad/gi.test(ua),/android|Adr/gi.test(ua)),iphone=/iphone/gi.test(ua);if(/Android|webOS|iPhone|iPod|ipad|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent))if(-1!=playType.toString().indexOf("single")&&/ipad/gi.test(navigator.userAgent.toLowerCase()));else{var songmd5Id=location.href.match(/song\/(.*).html/)&&location.href.match(/song\/(.*).html/)[1];if(null!=songmd5Id&&void 0!==songmd5Id&&""!=songmd5Id){var songmd5Id=songmd5Id.split(",")[0],nextLink="http://m.kugou.com/kgsong/"+songmd5Id+".html?",hash=location.hash;""!=location.search&&(nextLink+=location.search.substr(1)),hash&&""!=hash&&(nextLink+=hash),window.location=nextLink}else if(-1!=location.href.indexOf("zlist")){var listid=_this.QueryString(location.search.substr(1),"listid"),uid=_this.QueryString(location.search.substr(1),"uid"),sign=_this.QueryString(location.search.substr(1),"sign");"undefined"!=listid&&null!=listid&&""!=listid&&"undefined"!=uid&&null!=uid&&""!=uid&&"undefined"!=sign&&null!=sign&&""!=sign&&(window.location="http://m.kugou.com/share/zlist.html"+location.search)}else if(-1!=location.href.indexOf("share")&&location.href.match(/share\/(.*).html/)&&"undefined"!=location.href.match(/share\/(.*).html/)[1]&&null!=location.href.match(/share\/(.*).html/)[1]){var shareId=location.href.match(/share\/(.*).html/)[1],nextLink="http://m.kugou.com/share/?chain="+shareId,hash=location.hash;""!=location.search&&(nextLink+="&"+location.search.substr(1)),hash&&""!=hash&&(nextLink+=hash),window.location=nextLink}else android?window.location="http://mo.kugou.com/download/app/index.php?plat=0&fr=kugou":iphone?window.location="http://mo.kugou.com/download/app/index.php?plat=1&fr=kugou":/ipad/i.test(navigator.userAgent)&&_this.ipadJumpLink()}}}).init()}();