Better HN
topnewbestaskshowjobs
Log inSign up

bovine3dom

806 karma · joined Apr 27, 2017 (9y ago) · 301 submissions

https://dr.blanthorn.com

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

Submissions

comment 3mo ago · link · parent

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 :) )

comment 4mo ago · link · parent

there's now a proposal for it https://github.com/w3c/webextensions/pull/1019/changes so it will probably appear eventually.

comment 7mo ago · link · parent

I wonder what friction/maintenance he found with Tridactyl

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

comment 1y ago · link · parent

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...

comment 1y ago · link · parent

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/

comment 1y ago · link · parent

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...

comment 2y ago · link · parent

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-...

comment 2y ago · link · parent

there's a somewhat popular repo for Tridactyl Emacs bindings here https://github.com/jumper047/tridactyl_emacs_config

comment 2y ago · link · parent

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 :)

comment 2y ago · link · parent

I had no idea, thanks for sharing!

comment 2y ago · link · parent

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 :(

comment 2y ago · link · parent

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 :)

comment 3y ago · link · parent

> 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...

comment 3y ago · link · parent

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...

comment 3y ago · link · parent

> 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!

comment 3y ago · link · parent

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

comment 3y ago · link · parent

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

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

Firefox has link search built-in, just press '

comment 3y ago · link · parent

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).

comment 3y ago · link · parent

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/

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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 :)

comment 4y ago · link · parent

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 :)

comment 5y ago · link · parent

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

comment 5y ago · link · parent

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...

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

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.

12345
11