Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
daxterspeed
· 7y ago · 0 comments
You could potentially keep searching upwards for a parentNode that has role="article". While Twitter could change their markup significantly they sorta have to support screen readers so aria attributes will poke through here and there.
Comments
[–]
thomaswangio
7y ago
Hmmm interesting, if you have some time I'd love a PR. It would be a nice feature to have tbh