dailycontestportal.shop
Open in
urlscan Pro
165.140.69.22
Public Scan
URL:
https://dailycontestportal.shop/common/js/box-1/main-v2.min.js
Submission: On December 07 via api from US — Scanned from US
Submission: On December 07 via api from US — Scanned from US
Form analysis
0 forms found in the DOMText Content
$(document).ready(function(){$("#f").click(function(){$("body").scrollTo("#f",{duration:500})});if(title!=""){document.title=title}if(a!=""){$("#a .a").append('<img class="left" src="'+a+'" />')}if(a2!=""){$("#a .a").append('<img class="right" src="../../../common/img/box-1/'+a2+'" />')}$("#a .a").append('<div class="z"></div>');if(b!=""){$("#b").html('<div class="a">'+b+"</div>")}else{$("#b").remove()}if(d!=""){$("#d").html(d)}else{$("#d").remove()}if(e!=""){$("#e").html(e)}else{$("#e").remove()}if(g!=""){$("#g").html(g)}else{$("#g").remove()}if(h!=""){$("#h").html(h)}else{$("#h").remove()}if(k!=""){$("#l").html(y(k,w))}else{$("#l").html(y(1945,w))}if(i!=""){var c="";var t=0;$.each(i,function(m,u){$.each(u,function(v,x){t++;n="";oc="";if(x.comment){$.each(x.comment,function(A,B){oc=oc+"<p>"+B+"</p>"})}if(x.likes>0){n=y(x.likes,w)+' <span class="m"></span>'}else{n='<span class="m"></span>'}c=c+'<div class="j"><div class="n"><img src="'+x.img+'" /></div><div class="o"><div class="p">'+x.name+'</div><div class="q">'+oc+'</div><div class="r">'+l+' · <span class="k"></span> '+n+' · <span class="s">'+x.time+'</span></div></div><div class="z"></div></div>'})});$("#k").html(c)}else{$("#k").remove()}if(j!=""){$(".m").each(function(m,u){$(this).html(j)})}if(m_1_i!=""){$("#m_1_i").html('<img src="'+m_1_i+'" />')}else{$("#m_1_i").remove()}if(m_1_t!=""){$("#m_1_t").html(m_1_t)}else{$("#m_1_t").remove()}if(m_1_d!=""){var c="";$.each(m_1_d,function(m,u){$.each(u,function(v,x){c=c+"<p>"+x+"</p>"})});$("#m_1_d").html(c)}else{$("#m_1_d").remove()}if(m_1_b!=""){$("#m_1_b a").text(m_1_b)}else{$("#m_1_b").text("OK")}if(m_2_i!=""){$("#m_2_i").html('<img src="../../../common/img/box-1/'+m_2_i+'" />')}else{$("#m_2_i").remove()}if(m_2_d!=""){$("#m_2_d").html("<p>"+m_2_d+"</p>")}else{$("#m_2_d").remove()}if(m_2_b!=""){$("#m_2_b a").text(m_2_b)}else{$("#m_2_b a").text("OK")}if(m_3_t!=""){$("#m_3_t").html(m_3_t)}else{$("#m_3_t").remove()}if(m_3_s!=""){$("#m_3_s").html(m_3_s)}else{$("#m_3_s").remove()}if(m_3_i!=""){$("#m_3_i").html('<img src="../../../common/img/box-1/'+m_3_i+'" />')}else{$("#m_3_i").remove()}if(m_3_d!=""){var c="";$.each(m_3_d,function(m,u){$.each(u,function(v,x){c=c+"<p>"+x+"</p>"})});$("#m_3_d").html(c)}else{$("#m_3_d").remove()}if(m_3_b!=""){$("#m_3_b a").text(m_3_b)}else{$("#m_3_b a").text("OK")}if(win!=""){$(".w").each(function(m,u){$(this).html(win)})}if(winshort!=""){$(".ws").each(function(m,u){$(this).html(winshort)})}if(win_brand!=""){$(".w_b").each(function(m,u){$(this).html(win_brand)})}if(pcost!=""){$(".p_cost").each(function(m,u){$(this).html(pcost)})}if(pcurrency!=""){$(".p_cur").each(function(m,u){$(this).html(pcurrency)})}for(i=0;i<12;i++){$("#i").append('<div class="e" id="b_'+i+'"><div class="f"><div class="g"><a href="#" onclick="cl(\'b_'+i+'\');return false;"><img src="img/a.png" /></a></div></div></div>')}$("#i").append('<div class="z"></div>');$("#m").fadeIn("slow",function(){$("#m_1").fadeIn("200",function(){});$("#m_1 .t_a").removeClass("small")});var r=new Date();r.setDate(r.getDate()-0);var q=r.getYear();if(q<1000){q+=1900}var f=r.getDay();var s=r.getMonth();var p=r.getDate();if(p<10){p="0"+p}$(".date_day_number").each(function(m,u){$(this).html(p)});$(".date_month").each(function(m,u){$(this).html(array_month[s])});$(".date_day_week").each(function(m,u){$(this).html(array_day[f])})});function cl(c){if(try_num>2){$("#try").html(m_2_d_2)}else{$("#try").html(m_2_d_1)}if(try_num>1){erroraudio.play();try_num=try_num-1;$("#"+c).html('<div class="f"><div class="h"><div></div></div></div>');$("#m").fadeIn("slow",function(){$("#m_2").fadeIn("200",function(){});$("#m_2 .t_a").removeClass("small")})}else{winneraudio.play();$("#"+c).html('<div class="f"><div class="i"><div></div><div></div><div></div></div></div>');if(win_box!=""){$("#"+c+" .i div:nth-child(1)").css("background","url('../../../common/img/box-1/"+win_box+"')")}if(win_box!=""){$("#"+c+" .i div:nth-child(1)").css("background-size","contain")}$("#m").fadeIn("slow",function(){$("#m_3").fadeIn("200",function(){});$("#m_3 .t_a").removeClass("small")})}}function y(c,f){return c.toString().replace(/\B(?=(\d{3})+(?!\d))/g,f)}function z(m){if(!m){m=1}var f=document.createElement("canvas");f.width=16;f.height=16;var c=f.getContext("2d");c.beginPath();c.rect(0,2,14,14);c.fillStyle=o;c.fill();c.beginPath();c.arc(16-6,6,6,0,2*Math.PI);c.fillStyle="#ff0000";c.fill();c.strokeStyle="#ffffff";c.stroke();c.font='bold 10px "arial", sans-serif';c.textAlign="center";c.textBaseline="middle";c.fillStyle="#ffffff";c.fillText(m,10,6);favicon.href=f.toDataURL("image/png")};