▲ | MarsIronPI a day ago | ||||||||||||||||
I like the hints API, especially that it can hint on browser elements. However, power users may find it desirable to be able to use the hints system to select arbitrary kinds of elements. Perhaps you could extend the hint functionality to allow callers to pass a CSS selector that determines what elements get hinted? One use case is to write a command that lets the user choose an element and copy its text. | |||||||||||||||||
▲ | probablyrobert a day ago | parent [-] | ||||||||||||||||
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... | |||||||||||||||||
|