So I am working on an extension that does Text Analysis. The extension will first fetch the content of the page, it will then check if the certain link is found, it will check whether it is on top of the page, middle or bottom. I found a link related to viewport but I am not sure whether this is the correct way to do it?