Additivos del navigator Firefox
  • Extensiones
  • Themas
    • pro Firefox
    • Dictionarios e pacchettos de lingua
    • Altere sitos de navigatores
    • Additivos pro Android
Aperir session
Vista preliminar de ViHN: keyboard navigation for Hacker News

ViHN: keyboard navigation for Hacker News per Quentin Santos

Vi-style key bindings for browsing Hacker News. It's fast. If you have to wait a perceptible amount of time, that's a bug.

5 (1 reviews)5 (1 reviews)
11 Usatores11 Usatores
Tu pote usar iste extension solo sur Firefox
Discarga Firefox installa le extension
Discargar file

Metadatos del extension

Capturas de schermo
Navigate comments with the keyboard, reply without leaving the page, browse newest commentsYou can also browse stories (front page, /best, /new, /newest, favorites, etc.)
A proposito de iste extension
Vi-style key bindings for browsing Hacker News.

It's fast. If you have to wait a perceptible amount of time, that's a bug.

Compatible with <a href="https://addons.vaultpit.io/en-US/firefox/addon/hacker-news-night-mode/">Hacker News Night Mode</a>. See also <a href="https://addons.vaultpit.io/fr/firefox/addon/vimium-ff/">Vimium</a>.

<strong>Features</strong>

Use the key bindings similar to Vi to navigate Hacker News stories and comments.
It should work on story listings (front page, /new, /newest, /best, user submissions, etc.), comment threads, and comment listings (user comments, etc.).

Also, you can quickly find new comments by hitting “n” to browse comments in inverse chronological order.

In addition, the quick-reply and quick-edit forms let you see a preview of the comment you are writing.

Finally, the original poster (OP) is highlighted in comments.

<strong>Key bindings</strong>

Press <strong>?</strong> to toggle help.

<strong>Note</strong>: Like in Vim mapping, case is important. So <strong>j</strong> means hitting the <strong>j</strong> key with <strong>Caps Lock</strong> disabled, and without holding <strong>Shift</strong>. But <strong>J</strong> means hitting <strong>j</strong> key with either <strong>Caps Lock</strong> enabled, or while holding <strong>Shift</strong>.

<strong>Navigate Comments/Stories</strong>

<ul>
<li><strong>j</strong>: Next comment/story</li>
<li><strong>k</strong>: Previous comment/story</li>
<li><strong>J</strong>: Next sibling comment</li>
<li><strong>K</strong>: Previous sibling comment</li>
<li><strong>g</strong>: Go to first story/comment</li>
<li><strong>G</strong>: Go to last story, last root comment or “More” link</li>
<li><strong>H</strong>: Focus on story/comment at the top of the screen (<strong>h</strong>igh)</li>
<li><strong>M</strong>: Focus on story/comment in the <strong>m</strong>iddle of the screen</li>
<li><strong>L</strong>: Focus on story/comment at the bottom of the screen (<strong>l</strong>ow)</li>
<li><strong>n</strong>: Switch to Newest Items</li>
<li><strong>h</strong>: Parent comment/story (see #follow-links)</li>
<li><strong>p</strong>: Parent comment/story (see #follow-links)</li>
</ul>

<strong>Note:</strong>
You can also select an item by clicking in its bounding box.

<strong>Follow links</strong>

<ul>
<li><strong>o</strong>: Open story link/comment</li>
<li><strong>O</strong>: Open story link/comment in background</li>
<li><strong>c</strong>: Open comment thread</li>
<li><strong>C</strong>: Open comment thread in background</li>
<li><strong>b</strong>: Open both story link and comment thread</li>
<li><strong>B</strong>: Open both story link and comment thread in background</li>
<li><strong>h</strong>: Follow “context” link (go to comment thread, but focus on current comment)</li>
<li><strong>p</strong>: Follow “parent” link (go to parent's page, and focus on parent comment/story)</li>
<li><strong>1</strong>: Open 1st link in comment (maintain shift to open in background)</li>
<li><strong>…</strong>: …</li>
<li><strong>9</strong>: Open 9th link in comment (maintain shift to open in background)</li>
<li><strong>0</strong>: Open 10th link in comment (maintain shift to open in background)</li>
</ul>

<strong>Note:</strong>
When on the “XXX more comments” link, you can hit either of [lLcC] to go to the next page of comments.

<strong>Note:</strong>
The digits of the numeric keypad work as well to open links in comments.
However, this can only open links in foreground.

<strong>Note:</strong>
When using AZERTY, the key bindings to open links inside comments still work like in QWERTY.
Hit the <strong>1</strong> key <strong>without</strong> shift (like typing &) to open the 1st link in foreground.
Hit the <strong>1</strong> key <strong>with</strong> shift (like typing 1) to open the 1st link in background.
Same for the other link numbers.

<strong>Actions</strong>

<ul>
<li><strong>m</strong>: Collapse/uncollapse comment tree</li>
<li><strong>u</strong>: Upvote story/comment, or cancel vote</li>
<li><strong>d</strong>: Downvote story/comment, or cancel vote</li>
<li><strong>f</strong>: Favorite/un-favorite story/comment of the current page</li>
<li><strong>F</strong>: Flag/unflag story/comment of the current page</li>
<li><strong>r</strong>: Comment on story, or reply to comment (with preview)</li>
<li><strong>e</strong>: Edit comment (with preview)</li>
<li><strong>D</strong>: Delete comment</li>
<li><strong>Ctrl</strong>+<strong>Return</strong>: Submit current form</li>
</ul>

<strong>Navigate Newest Items</strong>

In the Newest Items list, the following key bindings are available:

<ul>
<li><strong>l</strong>: Show selected comment/story</li>
<li><strong>j</strong>: Next comment/story</li>
<li><strong>k</strong>: Previous comment/story</li>
<li><strong>J</strong>: Jump 10 down</li>
<li><strong>K</strong>: Jump 10 up</li>
<li><strong>g</strong>: Go to top story/comment</li>
<li><strong>G</strong>: Go to last story/comment</li>
<li><strong>n</strong>: Switch back from Newest Items</li>
</ul>
Valutate 5 per 1 revisor
Aperi session pro evalutar iste extension
Il ha non ha ancora evalutationes

Evalutation de stellas salvate

5
1
4
0
3
0
2
0
1
0
Leger 1 recension
Permissiones e datosSaper plus

Permissiones necessari:

  • Accede al schedas del navigator
  • Accede tu datos pro news.ycombinator.com
Plus de informationes
Ligamines del additivo
  • Sito de supporto
  • Email de supporto
Version
1.37
Dimension
37,53 KB
Ultime actualisation
2 miesiące temu (1 sie 2025)
Categorias associate
  • Feeds de novas, novas e blog
Licentia
Solo GNU General Public License v3.0
Historia de versiones
  • Vide tote le versiones
Adder al collection
Reporta iste additivo
Notas de version pro 1.37
v1.37
  • Fix numbered links not working in linked comment

v1.36
  • Fix numbered links not working in top item

v1.35
  • Fix navigating to top sometimes not clearing the hash in the URL

v1.34
  • Fix disabling newest items breaking collapsing threads with the mouse #59

v1.33
  • Fix quick reply form still visible in collapsed comments
  • Fix quick reply form losing focus when URL is updated

v1.32
  • Clicking inside/outside newest items activates/deactivates it
  • Display newest items list for screen width ≥900px instead of ≥1600px
  • Automatically scroll newest items list

v1.31
  • Fix needless scroll when clicking in the active item
  • Fix needless scroll when updating the URL in Firefox

v1.30
  • When scrolling to an item that is higher than the viewport, always scroll to the top of the item
  • Enable optional smooth scrolling on submission listings as well
  • Fix issue where clicking between submissions would do nothing, also causing H/M/L to not work
  • Add options to update the URL when navigating items: immediately, after a delay, or not at all
  • Add option to update the URL when closing the tab

v1.29
  • Save active item when closing tab (adds to history, and restores when reopening)
  • Press l to copy permalink to clipboard

v1.28
  • Handle new time format in Hacker News that breaks Newest Items

v1.27
  • Immediately scroll to corresponding item when navigating newest items #54
  • Revert change from v0.1.26 that always put the active item at top of view in normal browsing
  • Do not update current URL when navigating items to avoid polluting browser history #46

v0.1.26
  • Reduce noise in browser history on Chrome #46

v0.1.25
  • Only annotate the first 10 links (the ones with matching number hotkeys) #43
  • Clicking on the text of Ask HNs activates the top element #53

v0.1.24
  • Truncate milliseconds and UTC marker from times in Newest Items following format change in Hacker News: 2024-09-03 19:06:26.000000Z → 2024-09-03 19:06:26

v0.1.23
  • Fix navigating to parent on user's comments just moves upwards #48
  • Fix pressing "p" navigating to full thread instead of parent's page #49

v0.1.22
  • Scrolling to top really goes to top: removes hash from URL, and active comment/item

v0.1.21
  • Hitting o/c/b does not open self-referential links of Ask HNs

v0.1.20
  • Enable using 0 key to open 10th link

v0.1.19
  • Fix typo in options page

v0.1.18
  • More specific message for 504 errors (Hacker News is down)

v0.1.17
  • More descriptive name for extension

v0.1.16
  • Fix voting causing the content to move (reflow)
Altere extensiones ex Quentin Santos
  • Il ha non ha ancora evalutationes

  • Il ha non ha ancora evalutationes

  • Il ha non ha ancora evalutationes

  • Il ha non ha ancora evalutationes

  • Il ha non ha ancora evalutationes

  • Il ha non ha ancora evalutationes

Ir al pagina principal de Mozilla

Additivos

  • A proposito
  • Blog del additivos de Firefox
  • Laboratorio de extensiones
  • Centro de disveloppatores
  • Politicas pro disveloppatores
  • Blog del communitate
  • Foro
  • Reportar un defecto
  • Guida al revision

Navigatores

  • Desktop
  • Mobile
  • Enterprise

Productos

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Confidentialitate
  • Cookies
  • Legal

Excepte ubi alteremente indicate, le contento de iste sito es publicate sub licentia Creative Commons Attribution Share-Alike v3.0 o qualcunque version plus recente.