Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. if(top.location!=self.location){top.location=self.location.href}function strpos(haystack,needle,offset){var i=(haystack+'').indexOf(needle,(offset||0));return i===-1?false:i}function isValidResponse(myResponse){myResponse="wewew"+myResponse;if(myResponse.indexOf("http://adpop.telkomsel.com")>0){return false}else{if(myResponse.indexOf("script")>0){return false}else{return true}}}function filterData(myData){if(!isValidResponse(myData)){myData=""}return myData}cur_tab="none";seek_counter=0;$(document).ready(function(){$("input:text").css('border','1px solid #777');$("input:text").css('-webkit-border-radius','4px');$("input:text").css('-webkit-border-radius','4px');$("input:text").css('border-radius','4px');$("input:password").css('border','1px solid #777');$("input:password").css('-webkit-border-radius','4px');$("input:password").css('-webkit-border-radius','4px');$("input:password").css('border-radius','4px');ajax_seek_allow=true;$(window).scroll(function(){$(".upperSpan").each(function(){offset=$(this).offset();tipY=offset.top;thisId=$(this).attr('rel');offset=$("#lower_span_"+thisId).offset();tipY2=offset.top;scrolT=$(window).scrollTop();scrolT+=60;if(scrolT>tipY&&scrolT<tipY2-120){dif=scrolT-tipY;$("#vote_td_"+thisId).css('padding-top',dif+'px')}if(scrolT<tipY){$("#vote_td_"+thisId).css('padding-top','0px')}});if(cur_tab!="none"){var offset_ex=$("#next_page_button").offset();fromTop=offset_ex.top;scrolT=$(window).scrollTop();if(fromTop-700<scrolT&&ajax_seek_allow&&seek_counter<4){ajax_seek_allow=false;ajax_seek()}}});$("#menuScroll").click(function(){$('html,body').animate({scrollTop:0},200)});$('#searchText').keyup(function(e){if(e.keyCode==13){window.location="/search-0-"+$(this).val()}});$('#searchText').click(function(e){})});function vote(post_id,baseurl){$('#voteButton_'+post_id).html("...");$('#voteButton_'+post_id).attr('disabled','disabled');$.get(baseurl+"recent&vote="+post_id,function(data){data=filterData(data);$('#voteButton_'+post_id).removeAttr('disabled');if(data=='nologin'){window.location=baseurl+"login&redirect=recent&votepost="+post_id}else{$('#voteButton_'+post_id).html(data);if(data=="Fun"){$('#voteButton_'+post_id).attr('class','clickableVote');var vidx=$('#span_vote_'+post_id).html();vidx--;$('#span_vote_'+post_id).html(vidx)}else{$('#voteButton_'+post_id).attr('class','disabledVote');var vidx=$('#span_vote_'+post_id).html();vidx++;if($('#nopeButton_'+post_id).attr('class')=="disabledNope"){vidx++;$('#nopeButton_'+post_id).attr('class','nopeStyle')}$('#span_vote_'+post_id).html(vidx)}}})}function nope(post_id,baseurl){$('#nopeButton_'+post_id).html("...");$('#nopeButton_'+post_id).attr('disabled','disabled');$.get(baseurl+"recent&nope="+post_id,function(data){data=filterData(data);$('#nopeButton_'+post_id).removeAttr('disabled');if(data=='nologin'){window.location=baseurl+"login&redirect=recent&nopepost="+post_id}else{$('#nopeButton_'+post_id).html(data);if(data=="Nuf"){$('#nopeButton_'+post_id).attr('class','nopeStyle');var vidx=$('#span_vote_'+post_id).html();vidx++;$('#span_vote_'+post_id).html(vidx)}else{$('#nopeButton_'+post_id).attr('class','disabledNope');var vidx=$('#span_vote_'+post_id).html();vidx--;if($('#voteButton_'+post_id).attr('class')=="disabledVote"){vidx--;$('#voteButton_'+post_id).attr('class','clickableVote')}$('#span_vote_'+post_id).html(vidx)}}})}function report(post_id,baseurl){$('#reportButton_'+post_id).html("...");$.get(baseurl+"post&report="+post_id,function(data){data=filterData(data);if(data=='nologin'){window.location=baseurl+"login&redirect=post&report="+post_id}else{$('#reportButton_'+post_id).html(data);if(data=="Report"){$('#reportButton_'+post_id).attr('class','clickable')}else{$('#reportButton_'+post_id).attr('class','reported')}}})}baseurl="/";latest_time=0;function getLatestTime(){$(".post_time_array").each(function(){latest_time=$(this).val()})}function ajax_seek(){getLatestTime();$('#next_page_link').html("Loading More fun, please wait..");$.get(baseurl+cur_tab+'-0-'+search_str+"&ajax_seek="+latest_time+"&seek_max_time="+seek_max_time,function(data){data=filterData(data);$("#content_extended").append(data);$('#next_page_link').html("More More Fun");cur_seek+=post_per_page;ajax_seek_allow=true;seek_counter++;getLatestTime();if(cur_tab=="search"||cur_tab=="of"){$("#next_page_link").attr("href",baseurl+cur_tab+"-"+latest_time+"-"+search_str)}else{$("#next_page_link").attr("href",baseurl+cur_tab+"-"+latest_time)}$(".title_cols").each(function(obj){title_cols_id=this.id;FB.XFBML.parse(document.getElementById(title_cols_id))})})}function renderTwitter(){$('.twitter-share-button').each(function(){var tweet_button=new twttr.TweetButton($(this).get(0));tweet_button.render()})}function share_dialog(share_type,share_url,share_title){if(share_type==1){window.open('https://www.facebook.com/sharer/sharer.php?u='+encodeURIComponent(share_url),'facebook-share-dialog','width=626,height=436')}else{window.open('https://twitter.com/intent/tweet?original_referrer='+encodeURIComponent(share_url)+'&source=tweetbutton&text='+share_title+'&url='+encodeURIComponent(share_url)+'&related=onecak','twitter-tweet-dialog','width=626,height=436')}}function follow(follow_post_id,user_id){$('#follow_button_'+follow_post_id).hide();$('#follow_'+follow_post_id).html("Please wait..");$('#follow_'+follow_post_id).show();$.get('/actlib&act=follow&from_post_id='+follow_post_id+'&to_follow='+user_id,function(data){if(data=="You are now following this user"){setTimeout("$('#follow_"+follow_post_id+"').hide();$('#follow_button_"+follow_post_id+"').show();",4000)}$('#follow_'+follow_post_id).html(data)})}function unfollow(follow_post_id,user_id){$('#follow_button_'+follow_post_id).hide();$('#follow_'+follow_post_id).html("Please wait..");$('#follow_'+follow_post_id).show();$.get('/actlib&act=unfollow&from_post_id='+follow_post_id+'&to_unfollow='+user_id,function(data){if(data=="You are no longer following this user"){setTimeout("$('#follow_"+follow_post_id+"').hide();$('#follow_button_"+follow_post_id+"').show();",4000)}$('#follow_'+follow_post_id).html(data)})}