R
R
romasovest2017-08-05 04:48:40
JavaScript
romasovest, 2017-08-05 04:48:40

How to find out which function was called in the browser?

In VK, when scrolling the wall, new records are loaded. How can I find out the name of the function that does this? This is necessary in order to pre-block it through the console (so that new records are not loaded, the request is not sent).

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0xD34F, 2017-08-05
@romasovest

Open the console, spin the wall down, see where the request goes. Find the appropriate ajax requests in the js code of the page, set breakpoints, spin the wall again... Done.
The function is Wall.showMore.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question