Академический Документы
Профессиональный Документы
Культура Документы
(function () {
'use strict';
function fill_user_pass_submit() {
// Replace your personal number phone
$("#divd input").each(function (index, item) {
item.value = PHONE
});
if (AUTO_SUBMIT_CAPTCHA == 1) {
auto_submit_login();
}
}
function retry_encrypt_password() {
if (document.querySelectorAll('.hometdtext')
[1].firstElementChild.value.length < 20) {
SubmitsEncry('8080808070808080');
document.getElementById("txtEnterCode").focus();
}
setTimeout(retry_encrypt_password, 19000);
function getBase64Image(imgData) {
return imgData.replace(/^data:image\/(Gif|png|jpg);base64,/, "");
}
function getBase64Image2(img) {
// Create an empty canvas element
var canvas = document.createElement("canvas");
canvas.width = 306;
canvas.height = 156;
return resolve(xhr.response);
} else {
// reject(Error({
// status: xhr.status,
// statusTextInElse: xhr.statusText
// }))
}
xhr.onloadend = function () {}
xhr.onerror = function () {
console.error(xhr.statusText);
var answer = document.getElementById("txtEnterCode");
answer.value = '';
}
//console.log(JSON.stringify({'data' : img_data_base64}));
xhr.send(JSON.stringify({
'data': img_data_base64,
'columns': columns
}));
})
}
function info() {
return data;
}
function auto_submit_login() {
var timer = setInterval(function () {
if (document.getElementById("lbltime").innerHTML ==
"Timer : 0" && document.getElementById("txtEnterCode").value != "") {
clearInterval(timer);
$("#btnLogin").click();
//btnLoginFunc();
}
}, 1);
}
setTimeout(fill_user_pass_submit(), 1000);
function auto_captcha() {
console.log("SSMMS auto captcha login loaded!");
console.log("v6.4");