N
N
Nikita2021-01-22 12:57:28
JavaScript
Nikita, 2021-01-22 12:57:28

Does Kaspersky Anti-Virus embed its own JS script into the site code and disrupt the site?

Hello! I have free Kaspersky Security Cloud installed on my computer. Recently, because of it, my site began to work incorrectly:
1. Site pages take a long time to open
2. Some JS scripts do not work I
looked at the site code and saw that Kaspersky embeds its js script there:
600aa078f0e32622037009.jpeg
If I disable Kaspersky, the site starts working in normal mode, turn it on - again it does not work. I thought it was just me, but the same problem came to light on another computer where Kaspersky is installed.
Who faced this and how can this problem be solved?

PS: the site is an online store without viruses, advertised in Google and Direct, there are no problems with malware.

Answer the question

In order to leave comments, you need to log in

6 answer(s)
Y
Yuri, 2021-01-22
@MrNix21

how can I solve this problem?

Do not use Kaspersky antivirus, for example. All the more free. In general, I don’t see any point in additional antiviruses when there is Windows Defender.

P
profesor08, 2021-01-22
@profesor08

1. Write code in such a way that it is difficult to break its work without special intent. It is done by elementary isolation of the code scope from the outside world.
2. Check the download speed of everything that loads on the site page. This is done in devtools on the network tab.
3. Perhaps Kaspersky has no effect and does not spoil anything on the site. But as a result of his actions, unexpected scenarios can be launched in your code, leading to brakes. Suddenly you are listening through the observer to the entire body at maximum speeds. Perhaps refactoring is needed, taking into account the first point.

A
Alexander Taratin, 2021-01-23
@Taraflex

Install https on the site
+
configure CSP headers
https://developer.mozilla.org/ru/docs/Web/HTTP/CSP

M
maksam07, 2021-01-22
@maksam07

To begin with, I would write in support of Casper. They created this evil, they probably know how to solve the problem

S
sashabeep, 2021-01-22
@sashabeep

I see that here, judging by the code, the script is embedded in the contents of the popup window. Does it have a complete structure with HEAD, BODY and HTML tags?

M
m0ze, 2021-01-30
@m0ze

This is a regular implementation of the script by the antivirus itself. If you haven’t forgotten, it is disabled through the settings: Settings> Advanced> Network> Inject script <...> and then you will need to restart the computer.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question