Open ExpandingMan opened 3 years ago
You can right click the JuliaHub search field and use Add a Keyword for this Search...
:
Ok, turns out this doesn't usually work; you need to make sure to set https://juliahub.com/ui/Search?q=%s
as the bookmark URL.
I think that's functionally equivalent to the way you suggest doing this, but we definitely should figure out how to enable that as well.
As far as I can tell this functionality in firefox is borked... when you select the option you highlighted, firefox brings you to a menu for creating a bookmark that lets you bind a bookmark key, but it doesn't actually let you bind a search prefix for it...
It's really more of a firefox problem, other browsers have straightforward ways of doing this. As sad as it makes me this is likely the sort of reason firefox is fading into oblivion...
Hm, works fine for me:
That's so weird, I get a different dialog box when I click on the same thing... firefox 90.0.2
Oh, right. You need to edit it afterwards. Forgot to mention that...
Ugh... ok, so the issue is more complicated than I thought, but I think it's fair to say it's all on firefox.
The reason I did not think it was working was because for some reason it works a bit differently than the searches that are added with the other method and for some reason the bookmark search is not picked up by tridactyl (vim-like interface for firefox). I blame firefox rather than tridactyl because I don't see why these two methods should work so differently (also they appear in completely different lists in config).
Alright, it would still be nice to have the other button, but this is far from firefox's proudest moment. There's not necessarily any action for JuliaHub here. Feel free to close as resolved if you deem appropriate.
Thanks!
For most websites with a search, when you right click on the URL in firefox it gives you an "add [whatever this is]" option which allows you to add it as a search engine. This allows you to search with a keyword, for example "w supergravity" searches wikipedia for "supergravity".
I have no idea what tells firefox it can do this (frankly it's a lousy feature on firefox part because it doesn't let you just enter in an arbitrary URL like some browsers), but it would be really great to have a keyword search for packages on juliahub.com.