Как вы можете видеть изображение ниже, на веб-сайте есть "A", "B", "C", "D" и "E", и пользователь может видеть только A, B и небольшие части D в браузере. Они должны потребовать прокрутки браузера, или некоторые пользователи могут иметь больший экран или более длинное окно в своем браузере, которые позволяют даже видеть элемент C.
Хорошо, мой вопрос в том, можно ли мне сообщить, что пользователь видит в своем браузере с помощью javascript? В этом элементе есть "A", "B" и "D".