Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

All I want for this dumb thing is to

* correct ttps:// to https://

* stop searching internet for local hostname I type into the bar



> 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/ )


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.


Try "localname/" instead, though that will try https by default with my settings.


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.


Also: Show the full URI in the address bar. For some reason, firefox thinks it's cool to hide the protocol section when visiting http pages. Thankfully, it still shows https, an improvement over Chrome's mess of a UI.


That's fixable via browser.urlbar.trimURLs: https://support.mozilla.org/en-US/questions/881261


Yeah, this actually screws up LastPass's URL matching.


You probably could fix this using the extension "Redirector" and creating a filter for it..




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: