M
M
Messi2018-05-17 18:52:19
Web development
Messi, 2018-05-17 18:52:19

How to pass a scroll in a request?

Hello!
There is a page in which there is a scroll in the block and when scrolling, new material is loaded.
To automatically scroll in the browser (in the console), I just did this:
popup.scrollTop(popup[0].scrollHeight);
Please tell me in which direction to look, what library or what method is there so that it can be transferred not through the browser console, but for example through php or nodejs.
For example, I make a request on the server to the page "www.my.com", then I pass the command popup.scrollTop(popup[0].scrollHeight); and get content.
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yan-s, 2018-05-17
@FitTech

Probably, when scrolling to some point, an event occurs, having processed which JS makes an HTTP request, in response to which the content comes. You need exactly this request, the network tab to help.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question