News for hackers. Stuff that matters.
Re:Firefox Address Bar Tips by cobbaut on Monday July 10, 2023 @02:10PM (#36670521)
> stop searching internet for local hostname I type into the bar

Yes, please. I have a separate address bar and search bar in Firefox, and it still insists on searching DDG for local hosts names when I type them in the address bar. Stop doing this. (The solution for now is to type http://localname/ )

Re:Firefox Address Bar Tips by aftbit on Monday July 10, 2023 @02:56PM (#36671255)
Try "localname/" instead, though that will try https by default with my settings.
Re:Firefox Address Bar Tips by tux1968 on Monday July 10, 2023 @03:54PM (#36672059)
As long as your local names aren't changing all the time, an easy way is to create a keyword in your Firefox bookmarks, for each local host. That's specifically a keyword, not a tag. You can edit them in the Manage Bookmarks screen.

One nice feature of this is you can give a more complete URL for each keyword, for instance typing "nas" could link to "https://192.168.0.4:8181" with an IP and port number. It's instantly fast, and doesn't rely on a functioning DNS server.

Re:Firefox Address Bar Tips by Zecc on Tuesday July 11, 2023 @04:33AM (#36678044)
The about:config dark magic you're looking for should be `browser.fixup.alternate.enabled = false`, `browser.fixup.dns_first_for_single_words = true` and `browser.fixup.domainsuffixwhitelist.<localdnsname> = true`.

Hope it works for you.