Ми у соціальних мережах
Дата: 20 січня 2023 о 16:33, Оновлено 8 травня 2023 о 18:39
https://www.facebook.com/profile.php?id=100070032364697

let seconds = 0;
setInterval(() => seconds++, 1000);
function sendNotification (message) {
fetch("/error/notification", {
method: 'POST',
body: message,
});
};
// window.addEventListener("beforeunload", () => {
// if(!document.querySelector('#root').innerHTML && seconds > 10) {
// sendNotification(`Empty root, ${seconds} after openning`);
// }
// });
window.onerror = function(errorMessage, source, lineNumber, columnNumber, error) {
if(!document.querySelector('#root').innerHTML && lineNumber && columnNumber) {
sendNotification("White screen error: " + errorMessage + " in " + source + " at line " + lineNumber + " column " + columnNumber);
isError = true;
}
};
var _protocol = (("https:" == document.location.protocol) ? " https://" : " http://");
var _site_hash_code = "a6e875bc25dbcad66f0735f7cdbbf566";
var _suid = 9737;
function lp(w, d) {
function lpr() {
var s = document.createElement('script');
s.async = 1;
s.type = 'text/javascript';
s.src = 'https://a.plerdy.com/public/js/click/main.js';
(d.body || d.head).appendChild(s);
}
lpr();
}
setTimeout(function () {lp(window, document)}, 4000);
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'G-LNNBBTRGEJ');
function ga(w, d) {
function gar() {
var s = document.createElement('script');
s.async = 1;
s.type = 'text/javascript';
s.src = 'https://www.googletagmanager.com/gtag/js?id=G-LNNBBTRGEJ';
(d.body || d.head).appendChild(s);
}
gar();
}
setTimeout(function () {ga(window, document)}, 4000);
function a(w, d) {
w.HelpCrunch = function () {
w.HelpCrunch.q.push(arguments)
};
w.HelpCrunch.q = [];
function r() {
var s = document.createElement('script');
s.async = 1;
s.type = 'text/javascript';
s.src = 'https://widget.helpcrunch.com/';
(d.body || d.head).appendChild(s);
}
r();
}
setTimeout(function () {a(window, document)}, 4000);
setTimeout(function () {
HelpCrunch('init', 'meteam', {
applicationId: 1,
applicationSecret: '0zJerEeJKnnuZHzgCJC/LZmP/fKzNw3LiHJAcJvIYxar8YduPwOeTGJKE0DGVp1bcrIeADG+68VCrWO3IabN6A==',
})
HelpCrunch('showChatWidget');
HelpCrunch('hideChatWidget');
}, 4500);