Jump to content

Site with extjs isn't loaded. Kaspersky main.js throws error


Recommended Posts

Posted

Open site with extjs (site that I opened required credentials, but you can register trial on www.actitime.com). Kaspersky main.js fails on "if (key.toLowerCase() === "headers")" with TypeError: Cannot read properties of undefined (reading 'toLowerCase')

image.thumb.png.d02699abff8575e1da211efea3d290e2.png

Probably, problem in additional "hidden" key when `for (... in ...)` get `i` from `entries`. On screenshot the array has 5 items, by `i` get `remove` value from somewhere. Probably, it was added by extjs in

Ext.applyIf(Array.prototype, {
    indexOf: function(c) {
        for (var b = 0, a = this.length; b < a; b++) {
            if (this[b] == c) {
                return b
            }
        }
        return -1
    },
    remove: function(b) {
        var a = this.indexOf(b);
        if (a != -1) {
            this.splice(a, 1)
        }
        return this
    }
});

So, looks like kaspersky 'main.js' script should handle such situations correctly.

Flood and Flood's wife
Posted (edited)
14 hours ago, DarkElfikus said:

Open site with extjs (site that I opened required credentials, but you can register trial on www.actitime.com). Kaspersky main.js fails on "if (key.toLowerCase() === "headers")" with TypeError: Cannot read properties of undefined (reading 'toLowerCase'). Probably, problem in additional "hidden" key when `for (... in ...)` get `i` from `entries`. On screenshot the array has 5 items, by `i` get `remove` value from somewhere. Probably, it was added by extjs in

  1. So, looks like kaspersky 'main.js' script should handle such situations correctly.

Hello @DarkElfikus

Welcome!

  1. That's cause it does:                                         image.thumb.png.db826732475935149260e275a194b6c4.png 
  2. IF (your) goal is to get Community members to test a problem for (you) start with this please: Read before you create a new topic! by Danila T.  - include the full version & build of the Windows computer, (your) Kaspersky software version & the browsers, name & version (you've) tested the issue in?
  3. What happens IF, in Network settings -> Inject script into web traffic to interact with web pages is *unchecked* & OR, if actitime domain is added as a trusted address? 

Thank you🙏
Flood🐳+🐋

Edited by Flood and Flood's wife
pn
Posted (edited)

@Flood and Flood's wife

  1. I installed the extension but I can't enable or disable "Anti Banner" or anything else there, because options not accessible in free version. The issue was reproduced after removing the extension.
  2. Versions
    1. Windows - MS Windows 11 Pro x64 Build 22631
    2. Kaspersky - Free Version 21.19.7.527(a)
    3. Browsers - Chrome (131.0.6778.70), Edge (131.0.2903.51), Firefox (133.0)
  3. Цитата

    IF, in Network settings -> Inject script into web traffic to interact with web pages is *unchecked* & OR, if actitime domain is added as a trusted address

    I checked this only with Chrome. Here is a strange thing. In most attempts the problem stops reproducing (the script isn't called and site working) after applying any of the settings but I had to restart browser to see the effect. But after several installations and deletions of browser extension there weren't any effect of changing the settings you mentioned.
Edited by DarkElfikus
add mentioning
  • Thanks 1

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...