Is there a robust/general way in
eww browser (or alternatively
w3m in emacs) by which I can get the character position in a rendered page from a known character position in the page source?
I'd like to use this to automatically jump to "important" parts of webpages I visit often.
On stackexchange.com I need to scroll down a whole page to see the relevant part (the question section). I would like to setup emacs to jump automatically to the section.
As an example, stackoverflow.com has a question header:
<h1 itemprop="name" class="grid--cell fs-headline1 fl1"> <a href="..." class="question-hyperlink"> Stack overflow question title </a> </h1>
If I can find this location by html tags in the source, is there a way to then jump to get the corresponding position in the rendered page view.