News for hackers. Stuff that matters.
Re:Firefox Address Bar Tips by adql on Monday July 10, 2023 @12:09PM (#36668378)
All I want for this dumb thing is to

* correct ttps:// to https://

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

Re:Firefox Address Bar Tips by thesuitonym on Monday July 10, 2023 @12:20PM (#36668573)
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.
Re:Firefox Address Bar Tips by paintballboi07 on Monday July 10, 2023 @01:36PM (#36669856)
Yeah, this actually screws up LastPass's URL matching.
Re:Firefox Address Bar Tips by kikoreis on Monday July 10, 2023 @01:51PM (#36670179)
That's fixable via browser.urlbar.trimURLs: https://support.mozilla.org/en-US/questions/881261
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.

Re:Firefox Address Bar Tips by hexage1814 on Monday July 10, 2023 @03:53PM (#36672053)
You probably could fix this using the extension "Redirector" and creating a filter for it..