X
Nhấn vào đây để đến phiên bản di động của trang web.

Diễn đàn trợ giúp

Not everything with a period in it is a website

Được đăng

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.
Đính kèm ảnh chụp màn hình
Trích dẫn

Chi tiết hệ thống bổ sung

Ứng dụng

  • Chuỗi đại diện người dùng: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0

Thông tin chi tiết

jscher2000
  • Top 10 Contributor
8637 giải pháp 70648 câu trả lời
Được đăng

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
Bài viết này có hữu ích với bạn không?
Trích dẫn

Người tạo câu hỏi

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.
Bài viết này có hữu ích với bạn không?
Trích dẫn
Đặt một câu hỏi

Bạn phải đăng nhập vào tài khoản của bạn để trả lời bài viết. Vui lòng bắt đầu một câu hỏi mới, nếu bạn chưa có tài khoản.