i need to use document.querySelectorAll(\'a\') or something similar to capture all links into the visible portion of the page only (a page with infinite scroll
document.querySelectorAll(\'a\')