Is it possible to find the function that caused the page to scroll

I am trying to find which function causes the page to scroll when an element hangs, but so far has not received anything.

A special listener was not added to the element, from which I could understand that it is launched through a listener mouseoveror similar, the elements contain many listeners connected to them.

It is also not a browser function, it is specific to javascript because it does not occur when I null most of the code.

I have already tried nullusing scroll methods, which I know like this:

[
    'scroll',
    'scrollTo',
    'scrollBy',
    'scrollByLines',
    'scrollByPages',
    'scrollX',
    'scrollY',
    'scrollMaxX',
    'scrollMaxY',
    'scrollHeight',
    'scrollIntoView',
    'scrollTop',
    'scrollTopMax'
].forEach(function(a) {
    window[a] = null;
    document.documentElement[a] = null;
})

Hoping that when the mysterious function tried to call the scroll method, it would throw an error, but instead, it still scrolls normally without any problems.

, .

- , scroll 266 , , .

, ?

+6
4

3 , , , , , .focus(). , , , , .

, . , - .

+3

Modernizr CSS Hyphens.

: https://github.com/Modernizr/Modernizr/issues/2172

, .focus(), "".

0

2019 Chrome Dev Tools, Sources , Event Listener Breakpoints.

scroll Control. ( ) , , , (), Call Stack (, , ).

enter image description here

0
<div onmouseover="scrollWin()">Hover over me and it scrolls down the page</div>
<p>You will need stuff here to see the scroll work</p>
<script>
function scrollWin() {
    window.scrollBy(0, 100);
}
</script>
-3

All Articles