Live data from Hacker News

Firefox address bar

wiki.tilde.institute

21–30 of 332 posts

Re: Firefox address bar

#21
I use the shortcuts and address bar extensively - they made me a quick bookmarker and more often I gauge what I have indexed on a topic prior to do a websearch. With "+" you can have more than one tag to narrow down a list if it has multiple tags. While just using history+fuzzysearch works for a lot of people, I'm browsing too much to have a small list when using the history on often used terms - thus bookmarks and tagging.

Re: Firefox address bar

#22
post #14

I love them, use them every day on desktop and I don't understand why it does not work on mobile

Doesn't the mobile port use a completely different user interface implementation, from scratch? Makes sense that they might not have gotten to all the advanced convenience features of desktop yet.

Yes, the mobile address bar is a completely different implementation from the desktop version.

Re: Firefox address bar

#23

The killer feature is that you can extend this with your own macros. E.g. if you want the address bar to recognize "hn " as a prefix keyword, and redirect "hn firefox address bar" to, say, Algolia — you simply create a bookmark with "Keyword": "hn" and "URL": " https://hn.algolia.com/?q=%s " (not actually a URL, don't click on it) – %s indicating where the macro parameter substitutes. Then "hn firefox address bar" ma…

I've wrote the same, with the same algolia example :D

Do you remember if it was possible to edit or add custom search engines from GUI before? I remember having them, but I can't find it. Also it seems to me as a basic feature and not a "killer feature".

Re: Firefox address bar

#24
post #15

The killer feature is that you can extend this with your own macros. E.g. if you want the address bar to recognize "hn " as a prefix keyword, and redirect "hn firefox address bar" to, say, Algolia — you simply create a bookmark with "Keyword": "hn" and "URL": " https://hn.algolia.com/?q=%s " (not actually a URL, don't click on it) – %s indicating where the macro parameter substitutes. Then "hn firefox address bar" ma…

This is one of my favorite features that I use daily. I use the URL " https://www.google.com/search?q=site:ycombinator.com+%s " to search content from HN, and " https://www.google.com/search?q=site:reddit.com+%s " to search on Reddit. I also have " https://www.npmjs.com/package/%s " to directly go to a package page on npm.

[deleted]

Re: Firefox address bar

#25
so I tried a url that works on my local network and is in my history, bookmarks etc. Every single one of those modifiers sent that hostname with the modifier to my default search engine.

Maybe it doesn't play nicely, or at all with privacy badger, ublock origin, ddg etc plugins installed?

Re: Firefox address bar

#26
post #15

The killer feature is that you can extend this with your own macros. E.g. if you want the address bar to recognize "hn " as a prefix keyword, and redirect "hn firefox address bar" to, say, Algolia — you simply create a bookmark with "Keyword": "hn" and "URL": " https://hn.algolia.com/?q=%s " (not actually a URL, don't click on it) – %s indicating where the macro parameter substitutes. Then "hn firefox address bar" ma…

This is one of my favorite features that I use daily. I use the URL " https://www.google.com/search?q=site:ycombinator.com+%s " to search content from HN, and " https://www.google.com/search?q=site:reddit.com+%s " to search on Reddit. I also have " https://www.npmjs.com/package/%s " to directly go to a package page on npm.

Me too, on Microsoft Edge. Until one day an update nuked away all of my custom search keywords :(

This is probably less of a problem on firefox, where they are regular bookmarks.

Re: Firefox address bar

#27

The killer feature is that you can extend this with your own macros. E.g. if you want the address bar to recognize "hn " as a prefix keyword, and redirect "hn firefox address bar" to, say, Algolia — you simply create a bookmark with "Keyword": "hn" and "URL": " https://hn.algolia.com/?q=%s " (not actually a URL, don't click on it) – %s indicating where the macro parameter substitutes. Then "hn firefox address bar" ma…

Or just right-click the input field, and if the browser recognizes it as a search field (they're good at it by default, but you can implement https://github.com/dewitt/opensearch to make extra sure), you'll get an option to create a search from it, with a keyword of your choosing (haven't tried Safari).

Re: Firefox address bar

#28
post #23

The killer feature is that you can extend this with your own macros. E.g. if you want the address bar to recognize "hn " as a prefix keyword, and redirect "hn firefox address bar" to, say, Algolia — you simply create a bookmark with "Keyword": "hn" and "URL": " https://hn.algolia.com/?q=%s " (not actually a URL, don't click on it) – %s indicating where the macro parameter substitutes. Then "hn firefox address bar" ma…

I've wrote the same, with the same algolia example :D Do you remember if it was possible to edit or add custom search engines from GUI before? I remember having them, but I can't find it. Also it seems to me as a basic feature and not a "killer feature".

Right-click on a search box > "Add a Keyword for this Search".

Edit: it then gets saved as a bookmark and you can edit it like any other.

Re: Firefox address bar

#29

The killer feature is that you can extend this with your own macros. E.g. if you want the address bar to recognize "hn " as a prefix keyword, and redirect "hn firefox address bar" to, say, Algolia — you simply create a bookmark with "Keyword": "hn" and "URL": " https://hn.algolia.com/?q=%s " (not actually a URL, don't click on it) – %s indicating where the macro parameter substitutes. Then "hn firefox address bar" ma…

Yup, I use this all the time. `d` is for searching my favourite D&D reference, `i` is for IMDB, `p` is for image search, `v` is for GIF search...

It is also great for keyword-based bookmarklets.

Re: Firefox address bar

#30
post #20
post #13

Earlier quoted context omitted.

I use this often. I just wish there was a way to escape the keyword. Like for example if I wanted to do a web search for "hn firefox address bar" I have to click the correct search engine with my mouse. Maybe there's a method I'm not aware of.

You can press Ctrl+K or type a `?` before the search query and Firefox will use your default search engine without expanding the bookmark macro.

I notice that ? is mentioned in the submitted article, but I didn't get what you said from it. Regardless, ? is apparently what I needed to solve my problem. Thanks!
Post reply on HN