Closed Bug 1492734 Opened 6 years ago Closed 5 years ago

Searches in the urlbar that look like domains/hosts are treated as URLs

Categories

(Firefox :: Address Bar, defect, P3)

63 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 1080682

People

(Reporter: juraj.masiar, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0
Build ID: 20180917143811

Steps to reproduce:

I'm trying to google one API so I paste "chrome.system.memory.getInfo" into the address bar and Firefox doesn't allow me to search it!

1) paste "chrome.system.memory.getInfo" into the address bar


Actual results:

There is no way to search, there is only one option to visit "chrome.system.memory.getInfo" page - which doesn't exists obviously.


Expected results:

First of all, why is Firefox even trying to connect to non-existing top domain names - is ".getInfo" a top level domain name? When I test it in Chrome, it makes correct search.

Second, there used to be a second line below the "visit" option to search google, which I don't see now.

This happens to me all the time when I'm looking for API.
Component: General → Address Bar
This is a valid bug, but FYI in the meantime you can search for it by putting it in double quotes.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Summary: missing option to search from address bar for some phrases → Searches in the urlbar that look like domains/hosts are treated as URLs

On Stackexchange someone mentioned a fix for a similar question.

Basically prefixing, suffixing or embedding a question mark "?" at any point will also force a search to be performed rather than a URL request.

They also mentioned a keyboard shortcut Ctrl-K that would place a "?" prefix and move the focus to the Addressbar.

I guess the mnemonic is K for Kwestion :-)

When I tried it now it just moved focus to my Searchbar and did not prefix a questionmark, odd.

https://superuser.com/questions/389136/how-can-i-disable-searching-and-domain-guessing-from-the-firefox-address-bar-wh/981279#981279

(In reply to KalleMP from comment #2)

On another bug that I accidentally sullied Drew Willcoxon :adw said the following in response to my Odd observation.

If the search bar is visible, the shortcut will focus it. If it's not visible, the shortcut will focus the address bar with a "?" prefix.

isn't this just a dupe of bug 1080682?

Flags: needinfo?(adw)

Indeed, thanks

Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(adw)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.