probablyrobert

Joined 5 years ago

Karma
202
Submissions
50
Member since
Oct 25
Creator of https://glide-browser.app
View on Hacker News

Recent submissions

Comment · 10 months ago
Comment · 1 year ago
Thank you! I just implemented the ones I use the most, e.g. diw, but the motions system is still in very early stages and there are lots of motions I haven't implemented yet.

I do plan on implementing as many motions as is feasible, but there are some intentional differences, e.g. `f` is used for hints instead of jump-to-char.

Comment · 1 year ago
I'm not entirely sure what is going to happen with imports to be honest. My current thinking is that they'll be supported eventually but that imported modules should not have access to glide APIs. For anything that does need to use glide APIs, I would support that through a separate API.

Yes eval is blocked, and extensions / websites cannot access glide APIs.

Thanks that is very helpful! Agree those things should be mentioned in the security doc.

Comment · 1 year ago
DRM is not possible to support unfortunately: https://glide-browser.app/faq#why-can't-i-play-drm-content

Firefox Sync does work!

RPC is not currently supported but I agree it would be pretty interesting, tweety[0] was recently shared with me and that looks like it'd be quite nice, although I haven't tried it yet.

So far the only divergence from Firefox that could impact security is evaluating the config file, so I've described how that is sandboxed in the security[1] docs but I'm not super happy with the contents of that docs page; anything else you'd like to see mentioned?

[0]: https://github.com/pomdtr/tweety

[1]: https://glide-browser.app/security

Comment · 1 year ago
Ah not yet sadly - https://github.com/glide-browser/glide/discussions/3

I personally prefer non-smooth scrolling as it feels faster.

Comment · 1 year ago
I'm not very familiar with Helix keybindings myself but if there are vim equivalents (and if they're actually implemented, a fair amount of mappings are missing right now) then you should be able to! There's a `motion` excmd you can use in your mappings.

I don't think it'll be possible to implement multi-cursor support through the config though unfortunately.

Comment · 1 year ago
Comment · 1 year ago
oh that is very helpful, thanks for sharing :)
Comment · 1 year ago
You can use CSS selectors already! https://glide-browser.app/hints#excmds

I've used it to add keymappings so that hints only apply to certain kinds of buttons on a page, e.g. https://github.com/RobertCraigie/dotfiles/blob/ecfd6f66e8a77...

Comment · 1 year ago
Oh wow this is very cool, thank you for sharing!!
Comment · 1 year ago
Comment · 1 year ago
Yes! All standard input elements have vim motions support but fair warning that a lot of the standard motions aren't implemented yet.
Comment · 1 year ago
It's implemented as a set of patches + new files for net new files I add myself, then to build it, the firefox source is downloaded and patched automatically - so bumping the underlying firefox version is generally very easy.

I'm currently actually tracking the firefox beta channel because the frequent small updates are so easy to do.

Comment · 1 year ago
Author here - happy to answer any questions :)
Comment · 1 year ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton