HNHacker News
TopNewBestAskShowJobs

bovine3dom

806 karma · joined April 27, 2017

https://dr.blanthorn.com

[ my public key: https://keybase.io/bovine3dom; my proof: https://keybase.io/bovine3dom/sigs/sHnuzlzRf5Q3G3-XipHEwJsNMv4Ws3eILcCEJWNy-nQ ]

submissionscomments
bovine3dom··on GUIs should be fully keyboard-driven
some of the most touching reviews we've had have been from people who for whatever reason can't use mice due to physical disabilities.

always happy to hear from people like that if there are things we can improve.

(people who just don't like using mice need no such encouragement to share their opinions :) )

bovine3dom··on Show HN: I was tired of opening 2 tabs for every HN link, so I made a userscript
there's now a proposal for it https://github.com/w3c/webextensions/pull/1019/changes so it will probably appear eventually.
bovine3dom··on I have officially retired from Emacs
I wonder what friction/maintenance he found with Tridactyl

For me the friction always comes when I try to use the internet without it

bovine3dom··on Firenvim – Turn the browser into a Neovim client
For websites stealing keys from Firefox, Tridactyl has some terribly named settings called `leavegithubalone` and `leavegithubalonekeys`

If `leavegithubalone` is set to false (the default) and a website can steal a `leavegithubalonekeys` key from Firefox (usually /) then that is a Tridactyl bug. Unfortunately it is a Tridactyl bug that I do not know how to fix :)

For Firefox stealing keys from Tridactyl, you can patch Firefox without rebuilding it as this intrepid bunch describe here

https://github.com/glacambre/firefox-patches/issues/1#issuec...

bovine3dom··on Firenvim – Turn the browser into a Neovim client
You might be interested to learn that Tridactyl and Firenvim use the same library to manage getting and setting text across the various JS editors

https://github.com/glacambre/editor-adapter/

bovine3dom··on Qutebrowser: A keyboard-driven, Vim-like browser
FWIW I got some of the way through embedding a PDF viewer in Tridactyl [1] so that the keys would still work there, but I backed off because I was a bit scared by how frequently pdf.js gets updated. In Tridactyl it'd get updated about twice a year so we might end up with unresolved security issues.

Maybe there's a solution I've not thought of (CDN?).

[1] https://github.com/tridactyl/tridactyl/issues/541#issuecomme...

bovine3dom··on Vimium – The Hacker's Browser
You can patch Firefox (no rebuild required) to not reserve keys if you'd rather. Discussion here [1] and convenient AUR script here [2].

[1]: https://github.com/glacambre/firefox-patches/issues/1

[2]: https://aur.archlinux.org/packages/firefox-no-reserved-keys-...

bovine3dom··on Vimium – The Hacker's Browser
there's a somewhat popular repo for Tridactyl Emacs bindings here https://github.com/jumper047/tridactyl_emacs_config
bovine3dom··on Vimium – The Hacker's Browser
You can almost totally disable Tridactyl on a domain with `:seturl [URL] superignore true` now for what it's worth.

`:blacklistadd [URL]` remains a much better option for most people for most sites because it lets you easily re-enable Tridactyl temporarily.

Glad you're happy with Vimium :)

bovine3dom··on Don't fuck with paste
I had no idea, thanks for sharing!
bovine3dom··on Don't fuck with paste
It works sometimes on GitHub, it's just a bit extra as you said.

GitHub is what annoyed me enough to make the feature in the first place. It used to work reliably but they made it worse :(

bovine3dom··on Don't fuck with paste
FWIW, the / search isn't part of Tridactyl but we do inject some code that frees up / from most websites so Firefox can use it.

It's possible to write your own user script to do it (you just need to add a keypress event handler that does preventDefault() and maybe stopPropagation()) with no need for Tridactyl :)

bovine3dom··on Keyboards and web apps, my post/rant for the year
> I can't even edit the code that is taking focus and hijacking shortcuts!

You can remove the shortcuts pretty easily with a userscript, see lines ~410-440 here for inspiration: https://github.com/tridactyl/tridactyl/blob/2eaba7e4ceec6de5...

bovine3dom··on Nyxt: The Hacker's Browser
You can let extensions run on Mozilla domains by tweaking some settings in about:config [1].

Mozilla believes that it creates a security risk and that you shouldn't do it.

[1]: https://www.ghacks.net/2017/10/27/how-to-enable-firefox-webe...

bovine3dom··on Vimium – A browser extension that provides Vim-style keyboard controls
> Tridactyl's huge jumps are annoying to me

You can change that easily with `:bind j scrollline 1` and `:bind k scrollline 1` :)

The default bind was a conscious choice to break with tradition with Vimperator because everyone I knew rebound j/k to scroll further.

I'm glad you got VimFx working though!

bovine3dom··on Vimium – A browser extension that provides Vim-style keyboard controls
Mozilla said they were happy to do that five years ago if we wrote the API. We started work on it here [1] but lost interest because there have always been more urgent things to do (and for me, the ctrl+comma escape hatch that gets you back to Tridactyl from anywhere in the browser is good enough).

I think honestly most of the work in getting such an API merged would be political since most of the people who approved it are no longer at Mozilla.

If anyone wants to pick it up I would be delighted to help.

[1]: https://github.com/tridactyl/keyboard-api

bovine3dom··on Vimium – A browser extension that provides Vim-style keyboard controls
Tridactyl does let filter links like that with `:set hintfiltermode vimperator` and `:set hintchars 1234567890`.

Vim Vixen unfortunately has been unmaintained since May [1]. If anyone knows ueokande personally, could they let him know that I would be happy to help get some releases out? I sent an email yesterday but I am not optimistic as it seems like quite a few people have tried over the last few months.

[1]: https://github.com/ueokande/vim-vixen/pull/1437

bovine3dom··on Vimium – A browser extension that provides Vim-style keyboard controls
If you're sending untrusted strings to the native messenger, it would be best to escape them with shellescape - https://github.com/tridactyl/tridactyl/blob/f2479c64761358c6...

Otherwise a malicious website targeting Tridactyl users who use the native messenger could gain shell access when you triggered your command on them.

bovine3dom··on Vimium – A browser extension that provides Vim-style keyboard controls
Firefox has link search built-in, just press '
bovine3dom··on Vimium – A browser extension that provides Vim-style keyboard controls
What do you miss about native scrolling?

IMO the scrolling in Tridactyl is better than native as it can work even when the page has put focus somewhere daft (like a pop-up).

bovine3dom··on Why did Mozilla remove XUL add-ons? (2020)
About five years ago we had agreement in principle with Mozilla to extend the web extension API to accept keypresses from anywhere, provided that someone did the work to write that API.

We started it [1] but lost interest because we think Tridactyl works mostly fine without it (press ctrl+, anywhere to get back to Tridactyl) and I have always found more urgent things to improve.

I'd be happy to help anyone who wanted to pick it up, but a lot of the political work of persuading Mozilla that such an API would be useful would need to be restarted since most of the people we persuaded in the past have now left Mozilla.

[1]: https://github.com/tridactyl/keyboard-api/

bovine3dom··on Wasavi – Vi editor for any webpage
If you have Tridactyl's native messenger installed you can launch an external text editor with Ctrl+I when inside a text box.

There is also Firenvim which embeds real neovim instances inside text boxes.

bovine3dom··on Practice typing by retyping entire novels
FWIW in Tridactyl we literally just yesterday merged a PR [1] that lets you use an arbitrary layout (QWERTY by default) for Tridactyl binds while keeping your real layout for everything else like text input. It will turn up in the next beta release within a few weeks.

[1]: https://github.com/tridactyl/tridactyl/pull/4439

bovine3dom··on AdGuard publishes the first ad blocker built on Manifest V3
For what it's worth, manifest V3 could effect Tridactyl as it could block code that is evaluated at runtime from accessing the browser APIs.

It will make it less programmable by the end user.

bovine3dom··on Please stop disabling zoom
You might be able to fix the ctrl-f thing in Tridactyl with `:help blacklistkeys`, although I'm not sure it will catch keys with modifiers.

Follow https://github.com/tridactyl/tridactyl/issues/2712 if you want updates when that's added. It would help if you could link to the website that hijacks ctrl-f in that issue :)

bovine3dom··on Lisp in Production: an interview with the guys behind Nyxt Browser [video]
Where would you like to see Tridactyl use more JS?

We already have `:js` and `:jsb` along with a few commands that accept JS callbacks :)

bovine3dom··on Hertz orders 100k Teslas
Do you have some numbers on lower maintenance? From a quick look around [1-2] they seem pretty similar to other manufacturers.

[1]: https://caredge.com/toyota/maintenance

[2]: https://caredge.com/tesla/maintenance

bovine3dom··on Revolt of the Delivery Workers
In Manchester in the UK there was one in 2019: an old railway line which has been converted into a bike path, the Fallowfield loop. Groups of teenagers were attacking cyclists with hammers and logs. I believe that the police woke up to it and it has calmed now but it was definitely a no-go area for me for a few months. I'm pretty sure someone tried to drop a fist-sized rock on me while I cycled under a bridge...
bovine3dom··on Xiaomi Redmi Note 10 Pro: flagship features at half the price
Well, lots of phones do use the same sensor as the pixels: https://www.kimovil.com/en/list-smartphones-by-lens-model/so...

I've never used a Pixel but the results I get from GCam on my F1 are amazing. Miles ahead of the stock camera app.

bovine3dom··on Xiaomi Redmi Note 10 Pro: flagship features at half the price
You can get Google Camera to work on lots of other phones with a bit of effort: https://www.celsoazevedo.com/files/android/google-camera/

I'm using it on my Poco F1 and the night sight works really well.

Page 1 of 10Next →