How to disable Kaspersky Antivirus javascript injection?
There is a setting to disable script injection in the newest Kaspersky version (>16.0.1):
Settings -> Additional -> Network -> Inject scripts into web traffic to interact with web pages.
I found a solution that worked for me:
Kaspersky application
Settings Page
select "Additional" section on left side
select "Network" settings
Monitored Ports
[ ] Monitor all network ports
[X] Monitor selected ports only Select...
Click the Select... link
- Remove: HTTPS on port 443
- Remove: HTTP on port 80
- Remove: any/all other HTTP if you use those frequently
- Bottom of the list, UNCHECK "Monitor all network ports..."
Close the Network Ports window
Close the settings window
Restart your browsers...
you can add these to C:\Windows\System32\drivers\etc\hosts
0.0.0.0 gc.kis.scr.kaspersky-labs.com # Kaspersky anti-injection for Google Chrome
0.0.0.0 ff.kis.scr.kaspersky-labs.com # Kaspersky anti-injection for Mozilla Firefox
0.0.0.0 ie.kis.scr.kaspersky-labs.com # Kaspersky anti-injection for Internet Explorer
Refrence