Readit News logoReadit News
h43z commented on A small change to improve browsers for keyboard navigation   b.43z.one/2025-07-22/... · Posted by u/h43z
OGEnthusiast · 19 hours ago
FWIW, using Chromium on Linux, I was able to use Ctrl+F + Escape + Enter to find and click on all of them except for the "span with an onclick handler".
h43z · 15 hours ago
The span one is the important one though as most of the modern web does not use <button> anymore.
h43z commented on A small change to improve browsers for keyboard navigation   b.43z.one/2025-07-22/... · Posted by u/h43z
hirako2000 · 21 hours ago
Buttons work too.

The issue is with any JavaScript driven on click events tags. Some sites even have their <a> tags not responding to keyboards events, because they have a hash href, and a JavaScript handler to redirect.

The web is beautiful place.

h43z · 21 hours ago
I don't see it working on firefox for buttons but on chrome. Both don't work on other html elements (div,span,..).
h43z commented on A small change to improve browsers for keyboard navigation   b.43z.one/2025-07-22/... · Posted by u/h43z
vunderba · 21 hours ago
On a related note, highly recommend the Firefox Vimium extension if you're a "keyboard warrior".

https://addons.mozilla.org/en-US/firefox/addon/vimium-ff

h43z · 21 hours ago
I used to use vimium (and tried similar extensions) but it always scared me how big the codebase was for most of the popular extensions. In the end I came up with a tiny extension for just the things I need https://github.com/h43z/jkscroll
h43z commented on A small change to improve browsers for keyboard navigation   b.43z.one/2025-07-22/... · Posted by u/h43z
CodeMage · 21 hours ago
When you press Enter in the search box, Firefox finds the next occurrence of your search pattern. An easy fix that doesn't require an extension is to press Esc first, which closes the search box, and then you can press Enter.
h43z · 21 hours ago
This works on links and buttons in chrome. In firefox just on links. In both it doesn't work for other html elements.
h43z commented on A small change to improve browsers for keyboard navigation   b.43z.one/2025-07-22/... · Posted by u/h43z
dannyfritz07 · a day ago
I'm using Firefox and the links were activated when I hit enter in the quick-find prompt. Not sure why the behavior is different than what the author is seeing.
h43z · 21 hours ago
The links yes, but what about buttons or other html elements?
h43z commented on Show HN: Stasher – Burn-after-read secrets from the CLI, no server, no trust   github.com/stasher-dev/st... · Posted by u/stasher-dev
h43z · 19 days ago
Do I understand this correctly that the server here is only needed to make sure the secret it's only read once?

u/h43z

KarmaCake day454November 29, 2012
About
https://h.43z.one https://x.com/h43z
View Original