How to scroll with the mouse to the bottom of the page

Perfecto

Client
Регистрация
06.08.2013
Сообщения
94
Благодарностей
4
Баллы
8
Hi,

I'm looking to implement mouse scrolling to the bottom of the page, pausing for 2 seconds each time to allow everything to load before scrolling again. The challenge is how to detect when I've reached the bottom of the page. Considering that this script needs to work on hundreds of different page types, I can't use an HTML selector as a reference point. It's not an infinite scroll scenario, and no new elements are loaded when scrolling, so I can't count the DOM elements either. How can I achieve this?

120827
 

Ахилес

Client
Регистрация
11.11.2020
Сообщения
887
Благодарностей
365
Баллы
63

Perfecto

Client
Регистрация
06.08.2013
Сообщения
94
Благодарностей
4
Баллы
8

Вложения

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)