Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ask HN: Generic keyboard shortcuts for "next page" on websites?
3 points by sirwitti on Jan 14, 2022 | hide | past | favorite | 3 comments
Hi! Do you guys know of ways to enable automatic keyboard shortcuts for pagination on websites?

The use case I'm imaging is this:

You're on a website that offers several pages of content, like google search result pages or products in an online store.

Why not mark up links to the previous/next pages and all other links to pagination via html attributes? This would allow browsers to use that information to provide shortcuts to those pages.

Also I can imagine this making life easier for people using assistive technology.




If you have the Vimium extension [0] then double-tapping the ] key goes to the next page on most sites.

0: https://chrome.google.com/webstore/detail/vimium/dbepggeogba...


On Firefox, Tridactyl[0] does this too.

Which link it follows as is based on the rel=next (or prev if you used [[) attributes (i.e. the actually correct way that web pages all too often do not use) and then falling back to heuristics like the button/link text.

[0]: https://github.com/tridactyl/tridactyl




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: