this post was submitted on 01 Nov 2023
116 points (92.0% liked)
Firefox
18050 readers
6 users here now
A place to discuss the news and latest developments on the open-source browser Firefox
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
IP adresses are pretty edge case yeah. I dont know if that should even be supported. The "example.com" does actually work tho, its just if you only include ".co" in your selection, it doesn’t recognize it as a URL even tho .co is the national TLD of Colombia. But all that really needs to change is to support all existing TLD'S and maybe IP addresses if there is community interest in it.
I don't think .co versus .com is the relevant factor. I can select xample.co by itself, but not as a substring of http://www.example.com. The rules seem so arbitrary and context-dependent that it behaves more like a dice roll than a usable feature.
If a selection to URL feature cares about TLDs, IP addresses, or text beyond the selection range, then it's operating at the wrong abstraction layer. (well, technically Goto foo has a couple lines of code to [bracket] bare IPv6 addresses, but that's not core functionality.)
In such cases, you can just highlight and drag the text to the address bar.
www.example works, but www.exampl doesn't. Perhaps there's a minimum character count to trigger it...
maybe because example is a tld?
Example is a freaking TLD?
it's not a publicly registrable, but it's reserved by IETF/IANA for use on e.g. local networks or for documentation and is technically a valid tld.
https://en.m.wikipedia.org/wiki/.example
https://data.iana.org/TLD/tlds-alpha-by-domain.txt
Doesn't look like it, no.
this list doesn't include reserved TLDs