X
Tap here to go to the mobile version of the site.

Support Forum

Not everything with a period in it is a website

Posted

Select any.text.with.a.period in it and you are given the option to navigate to the link in a new tab.or.paste.any text with a period in it into the address bar and it will try and navigate to it.

Whenever I paste text into the address bar that has periods in it with the intention to search for it , I have to enclose it in quotes so Firefox doesn't try and navigate to it.

As you can see from the attached images, in my first line here, it thinks that .period indicates a link.

But as you can see from the canonical list of top level domains available here http://data.iana.org/TLD/tlds-alpha-by-domain.txt

period is not a top level domain.

And as you can see from the other image I've attached, it thinks that .any is a domain when the text "tab.or.paste.any" is pasted into the address bar with the intent to search for it. And from that same canonical list of TLDs, we can see that .any is not on it.

Tell your programmers to put in a little more effort and parse things properly please. This is damned annoying.

Select any.text.with.a.period in it and you are given the option to navigate to the link in a new tab.or.paste.any text with a period in it into the address bar and it will try and navigate to it. Whenever I paste text into the address bar that has periods in it with the intention to search for it , I have to enclose it in quotes so Firefox doesn't try and navigate to it. As you can see from the attached images, in my first line here, it thinks that .period indicates a link. But as you can see from the canonical list of top level domains available here http://data.iana.org/TLD/tlds-alpha-by-domain.txt period is not a top level domain. And as you can see from the other image I've attached, it thinks that .any is a domain when the text "tab.or.paste.any" is pasted into the address bar with the intent to search for it. And from that same canonical list of TLDs, we can see that .any is not on it. Tell your programmers to put in a little more effort and parse things properly please. This is damned annoying.
Attached screenshots
Quote
jscher2000
  • Top 10 Contributor
8636 solutions 70638 answers

Hi aj.barker, on your context menu example, there should be a line further down for Search Google for "selected text..." (or whatever your default search engine is.

In the address bar, Firefox will always check DNS for dotted.entries that do not contain an indication that your input was meant to be searched. Those indications include:

  • Beginning your query with a ?
  • Beginning your query with a character illegal in a URL such as '
  • Beginning your query with a search engine keyword
  • Adding a space and second term to your query

I don't think the developers will want to limit DNS lookups to IANA-approved TLDs, so Firefox can accommodate user-defined domain names (for example, on a company's intranet or in a developer's hosts file).

That said, it would be useful if there was a one-click "search it instead" option on the error page for when this happens. Or for when the user makes a typo in the domain name. If no one has filed a feature request for that, it's worth a try:

Hi aj.barker, on your context menu example, there should be a line further down for '''Search Google for "''selected text...''"''' (or whatever your default search engine is. In the address bar, Firefox will always check DNS for dotted.entries that do not contain an indication that your input was meant to be searched. Those indications include: * Beginning your query with a ? * Beginning your query with a character illegal in a URL such as ' * Beginning your query with a search engine keyword * Adding a space and second term to your query I don't think the developers will want to limit DNS lookups to IANA-approved TLDs, so Firefox can accommodate user-defined domain names (for example, on a company's intranet or in a developer's hosts file). That said, it would be useful if there was a one-click "search it instead" option on the error page for when this happens. Or for when the user makes a typo in the domain name. If no one has filed a feature request for that, it's worth a try: * https://bugzilla.mozilla.org/ * https://developer.mozilla.org/docs/Mozilla/QA/Bug_writing_guidelines
Was this helpful to you?
Quote

Question owner

Yes. I know about the context search option. I wasn't asking about workarounds.

The other browsers do not have this behavior. I switched to Firefox from Chrome some time ago, and this behavior has been bugging me.

I was merely using the TLD list as an example that there are methods to use to check the text before attempting to navigate to just any random characters that are in the clipboard.

Yes. I know about the context search option. I wasn't asking about workarounds. The other browsers do not have this behavior. I switched to Firefox from Chrome some time ago, and this behavior has been bugging me. I was merely using the TLD list as an example that there are methods to use to check the text before attempting to navigate to just any random characters that are in the clipboard.
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.